-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue importing pynacl on MacOS #19
Comments
@s-a-t-o-r-a-r-e or @clugh any idea? |
Wrong key? And does this log include the exception type? |
Just tried that key, and same output. |
Python appears to be having an issue importing |
Thanks for the response, clugh. I tried reinstalling pynacl, but no dice. The installation was done without any error logs. I installed the package without using the cached files. I was using this fine on Ubuntu. Might have to do that only. Thanks again, you're the best! |
Hi, I've cloned the script and installed all dependencies. When I run
python3.5 proxy.py
it returns this error:[username:~/projects/coc/proxy]$ python3.5 proxy.py (master✱) Traceback (most recent call last): File "proxy.py", line 5, in <module> from coc.server.factory import CoCServerFactory File "/Users/username/projects/coc/proxy/coc/server/factory.py", line 2, in <module> from coc.server.protocol import CoCServerProtocol File "/Users/username/projects/coc/proxy/coc/server/protocol.py", line 3, in <module> from coc.server.crypto import CoCServerCrypto File "/Users/username/projects/coc/proxy/coc/server/crypto.py", line 1, in <module> from nacl.public import PrivateKey, PublicKey File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/nacl/public.py", line 18, in <module> import nacl.bindings File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/nacl/bindings/__init__.py", line 17, in <module> from nacl.bindings.crypto_box import ( File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/nacl/bindings/crypto_box.py", line 17, in <module> from nacl._sodium import ffi, lib ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/nacl/_sodium.cpython-35m-darwin.so, 2): Symbol not found: _crypto_box Referenced from: /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/nacl/_sodium.cpython-35m-darwin.so Expected in: flat namespace in /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/nacl/_sodium.cpython-35m-darwin.so
The messages and definitions folder contents are in right place. I have version python 3.5.2 installed, running macOS Sierra 10.12.1. What can I do to fix this? I don't have any experience in python unfortunately. I have the following dependencies installed -
appdirs==1.4.0
cffi==1.9.1
constantly==15.1.0
ez-setup==0.9
incremental==16.10.1
packaging==16.8
pyblake2==0.9.3
pycparser==2.17
PyNaCl==1.0.1
pyparsing==2.1.10
six==1.10.0
Twisted==16.6.0
zope.interface==4.3.3
The text was updated successfully, but these errors were encountered: