flask run 出错No module named 'C:\\Users\\ASUS\\(已解决)


#1

不是很清楚什么原因, 进入flask run报错。

(albumy-egScK9yC) (albumy) C:\Users\ASUS\exam\albumy\albumy>flask run
 * Serving Flask app "albumy" (lazy loading)
 * Environment: development
 * Debug mode: on
 * Restarting with windowsapi reloader
c:\users\asus\.virtualenvs\albumy-egsck9yc\scripts\python.exe: Error while finding module specification for 'C:\\Users\\ASUS\\.virtualenvs\\albumy-egScK9yC\\Scripts\\flask' (ModuleNotF
oundError: No module named 'C:\\Users\\ASUS\\')

将Werkzeug降级为0.15.4问题就解决了。