-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我在我的vps上面配置项目但是提示werkzeug库没有,可是我已经安装过了 #226
Comments
你直接在当前目录python 然后 |
也是提示没有这个库。。
我在自己的本地电脑和树莓派都配置过都是没问题的,但是就是vps上面出现这个问题。。。 |
import sys
print(sys.path) pip3 show Werkzeug 看下相应目录下是真的有 |
好吧已经解决了,万万没想到居然是这样的原因:
|
所以让你用docker, 环境隔离, 不会发生这种事. |
主要自己才刚刚入门python没多久好多东西都在慢慢摸索。。。docker也只是听过,不过最近回去学习下怎么使用,还是多谢你的帮忙,要不然得折腾好久 |
环境是anaconda的python3 跑过环境配置文件了
Successfully installed APScheduler-3.2.0 Flask-0.12 Jinja2-2.10 MarkupSafe-1.1.0 itsdangerous-1.1.0 lxml-3.7.2 pymongo-3.7.2 pytz-2018.7 redis-3.0.1 requests-2.20.0 tzlocal-1.5.1 werkzeug-0.11.15
也没有报错,可是当我进入Run文件夹python3 main.py 的时候却会提示缺少werkzeug
请问下这个是什么原因
The text was updated successfully, but these errors were encountered: