我最近安装了派宾夫。我需要在python 3.6下使用名为Crypto的模块。我目前运行3.8,所以我决定使用pibinv!
pipenv install Crypto
Adding Crypto to Pipfile's [packages]…
✔ Installation Succeeded
Pipfile.lock (da1a8d) out of date, updating to (ca72e7)…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
✔ Success!
Updated Pipfile.lock (da1a8d)!
Installing dependencies from Pipfile.lock (da1a8d)…
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 9/9 —
然后我做了:pipenv shell./skeleton.py init
我收到以下信息:
Traceback (most recent call last):
File "./skeleton.py", line 5, in <module>
from toolbox import *
File "/home/alex/Documents/4TC-CSC/csc/td2-code/toolbox.py", line 11, in <module>
from Crypto.Cipher import AES
ModuleNotFoundError: No module named 'Crypto'
我不明白这是怎么回事...任何帮助将不胜感激:)
慕妹3146593
相关分类