不知道什么原因, 运行后html5画布没出来,跪求解答,谢谢
FLASK_APP = main.py
FLASK_ENV = development
FLASK_DEBUG = 0
In folder C:/Users/xujun/PycharmProjects/mnist_testdemo
C:\Users\xujun\Anaconda3\envs\mnist_testdemo\python.exe -m flask run
* Serving Flask app "main.py"
* Environment: development
* Debug mode: off
2018-08-20 12:26:14.200842: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
main
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
127.0.0.1 - - [20/Aug/2018 12:26:19] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [20/Aug/2018 12:26:19] "GET /static/js/main.js HTTP/1.1" 404 -
main.js和jquery.min.js都放在js文件夹下
去谷歌浏览器运行试试
应该是 bootstrap 和 jQuery 两个文件不对,去官网下载即可
另外chrome有缓存,重新运行时清一下chrome浏览记录
一样的情况,下了新的文档还是这样的情况,看来不是缺少main.js的问题
链接:https://pan.baidu.com/s/1teKW_PX4sYLu9Thmm3rVGg 密码:2hgz使用这份前端文档
找不到 main.js 应该是路径不对