Возникли проблемы при установке PyNaCl на моем Mac? - PullRequest
0 голосов
/ 27 января 2019

У меня постоянно возникают одни и те же проблемы, пытаюсь ли я использовать homebrew или pip.Я установил другие пакеты, используя те же шаги без каких-либо проблем.

$ 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'
...