我刚刚安装了新版本的Ubuntu16.04LTS,并使用pip3 install flask安装了flask。当我运行pip3 list时,Flask0.12出现在列表中。
但是,当我尝试运行flask时,我得到错误flask: command not found。
我也使用pip而不是pip3来安装,但都没有用。有什么建议吗?
发布于 2017-01-07 20:37:25
已通过运行python3 -m flask修复。
发布于 2017-08-20 07:47:59
Windows:
pip install flaskMacOS:
sudo pip install flask覆盆子Pi:
sudo apt-get install flaskhttps://stackoverflow.com/questions/41521392
复制相似问题