我已經全局安裝了virtualenv並在flaskr文件夾中將其激活。我還點子瓶安裝在虛擬環境中,它是在腳本文件夾flask.exe但每次我運行:我正在嘗試爲燒瓶教程運行燒瓶,但出現錯誤
set FLASK_APP=flaskr
set FLASK_DEBUG=1
flask run
我得到這個錯誤:
(ENV) C:\Users\Owner\Desktop\flaskr>flask run
* Serving Flask app "flaskr"
* Forcing debug mode on
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Restarting with stat
c:\users\owner\desktop\flaskr\env\scripts\python.exe: can't open file 'C:\Users\Owner\Desktop\flaskr\ENV\Scripts\flask': [Errno 2] No such file or directory
我在做什麼錯?
你確定這個文件'C:\用戶\老闆\桌面\ flaskr \ ENV \腳本\ python.exe'的存在..? –