【发布时间】:2017-09-13 21:30:07
【问题描述】:
情况如下:
mymachine:Systemtest user$ pip3 install --upgrade pycrypto
Requirement already up-to-date: pycrypto in /usr/local/lib/python3.6/site-packages
mymachine:Systemtest user$ echo $PYTHONPATH
/Users/user/Private/Space/Server:/Users/user/Private/Space/Client:/usr/local/lib/python3.6/site-packages
mymachine:Systemtest user$ python3 -c "import Crypto"
Traceback (most recent call last):
File: "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'Crypto'
这是 Mac 的特殊功能吗?如何确保python3 使用Crypto 模块?
【问题讨论】: