Python已安装模块,调用时还是找不到报错?

0

v2-69423e046ab77fb0a287d2057486d60e_b.png

Yo:momo-chatterbot 0range$ python3 manage.py
Traceback (most recent call last):

File "manage.py", line 10, in <module>

app = create_app()

File "/Users/guoxiaocheng/Downloads/momo-chatterbot/momo/app.py", line 15, in create_app

register_blueprints(app)

File "/Users/guoxiaocheng/Downloads/momo-chatterbot/momo/app.py", line 25, in register_blueprints

from momo.views.mweixin import blueprint as wx_bp

File "/Users/guoxiaocheng/Downloads/momo-chatterbot/momo/views/mweixin.py", line 15, in <module>

from weixin import WeixinMpAPI

ModuleNotFoundError: No module named 'weixin'

Yo:momo-chatterbot 0range$ pip3 install weixin

Requirement already satisfied: weixin in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages

Yo:momo-chatterbot 0range$
已邀请:
0

seng - 从事BI、大数据、数据分析工作 2017-08-11 回答

确认一下python3和pip3对应是是否一样的?

要回复问题请先登录注册