在Mac上安装PyNaCl遇到问题吗?

时间:2019-01-27 20:21:24

标签: python pip package homebrew pynacl

无论我尝试使用自制还是点子,我都会遇到相同的问题。我已经使用相同的步骤安装了其他软件包,没有任何问题。

$ pip3 install PyNaCl

Collecting PyNaCl
  Using cached https://files.pythonhosted.org/packages/cd/c9/4d6deea9d900345b1243cc3e6265110697fae5e594689cfa1ba34e0ef4a8/PyNaCl-1.3.0-cp34-abi3-macosx_10_6_intel.whl
Requirement already satisfied: cffi>=1.4.1 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from PyNaCl) (1.11.5)
Requirement already satisfied: six in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from PyNaCl) (1.12.0)
Requirement already satisfied: pycparser in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from cffi>=1.4.1->PyNaCl) (2.19)
Installing collected packages: PyNaCl
Successfully installed PyNaCl-1.3.0
You are using pip version 18.1, however version 19.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

$ python3

Python 3.7.2 (v3.7.2:9a3ffc0492, Dec 24 2018, 02:44:43) 
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyNaCl

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'PyNaCl'

0 个答案:

没有答案