我有一个简单的Flask 为基础的项目在皮查姆.我正试图通过右击并 Select 调试选项来调试它.但始终低于错误:
Connected to pydev debugger (build 232.9559.58)
* Serving Flask app 'app'
* Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8000
* Running on http://192.168.0.29:8000
Press CTRL+C to quit
* Restarting with stat
C:\Python311\python.exe: can't open file 'C:\\Program': [Errno 2] No such file or directory
Process finished with exit code 2
我无法理解它为什么要在'C:\\Program'
中寻找什么,以及它在寻找什么.我能够很好地运行文件,只有在调试中有问题.任何 idea .请帮帮忙.谢谢