python - ImportError: No module named 'Crypto' on a Mac -
here situation:
mymachine:systemtest user$ pip3 install --upgrade pycrypto requirement 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'
is special mac thing? how make sure python3
uses crypto
module?
with -m
switch, should run python3 -m crypto
. no need import. or run python3 -c "import crypto"
Comments
Post a Comment