I was trying to insatll pyopenssl on my mac using python setup.py install. I got the following error message:
Traceback (most recent call last):
File "setup.py", line 75, in <module>
test_suite="OpenSSL")
File "/Users/Wu/anaconda/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/Users/Wu/anaconda/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/Users/Wu/anaconda/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/command/install.py", line 74, in run
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/command/install.py", line 97, in do_egg_install
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/command/easy_install.py", line 358, in run
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/command/easy_install.py", line 574, in easy_install
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/command/easy_install.py", line 625, in install_item
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/command/easy_install.py", line 671, in process_distribution
File "build/bdist.macosx-10.5-x86_64/egg/pkg_resources.py", line 580, in resolve
File "build/bdist.macosx-10.5-x86_64/egg/pkg_resources.py", line 818, in best_match
File "build/bdist.macosx-10.5-x86_64/egg/pkg_resources.py", line 830, in obtain
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/command/easy_install.py", line 593, in easy_install
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/command/easy_install.py", line 623, in install_item
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/command/easy_install.py", line 809, in install_eggs
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/command/easy_install.py", line 1015, in build_and_install
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/command/easy_install.py", line 1000, in run_setup
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/sandbox.py", line 50, in run_setup
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/sandbox.py", line 100, in run
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/sandbox.py", line 52, in <lambda>
File "setup.py", line 156, in <module>
File "/Users/Wu/anaconda/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/Users/Wu/anaconda/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/Users/Wu/anaconda/lib/python2.7/distutils/dist.py", line 971, in run_command
cmd_obj.ensure_finalized()
File "/Users/Wu/anaconda/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
self.finalize_options()
File "build/bdist.macosx-10.5-x86_64/egg/setuptools/command/bdist_egg.py", line 108, in finalize_options
File "/Users/Wu/anaconda/lib/python2.7/distutils/cmd.py", line 312, in get_finalized_command
cmd_obj.ensure_finalized()
File "/Users/Wu/anaconda/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
self.finalize_options()
File "/Users/Wu/anaconda/lib/python2.7/distutils/command/bdist.py", line 99, in finalize_options
self.plat_name = self.get_finalized_command('build').plat_name
File "/Users/Wu/anaconda/lib/python2.7/distutils/cmd.py", line 312, in get_finalized_command
cmd_obj.ensure_finalized()
File "/Users/Wu/anaconda/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
self.finalize_options()
File "setup.py", line 75, in finalize_options
test_suite="OpenSSL")
File "/var/folders/wq/b5fcrhb931sbwq721hprjkc00000gn/T/easy_install-7fYQvg/cryptography-0.3/cryptography/hazmat/bindings/openssl/binding.py", line 83, in __init__
File "/var/folders/wq/b5fcrhb931sbwq721hprjkc00000gn/T/easy_install-7fYQvg/cryptography-0.3/cryptography/hazmat/bindings/openssl/binding.py", line 99, in _ensure_ffi_initialized
File "/var/folders/wq/b5fcrhb931sbwq721hprjkc00000gn/T/easy_install-7fYQvg/cryptography-0.3/cryptography/hazmat/bindings/utils.py", line 77, in build_ffi
File "/private/var/folders/wq/b5fcrhb931sbwq721hprjkc00000gn/T/easy_install-7fYQvg/cryptography-0.3/cffi-0.8.2-py2.7-macosx-10.5-x86_64.egg/cffi/api.py", line 341, in verify
File "/private/var/folders/wq/b5fcrhb931sbwq721hprjkc00000gn/T/easy_install-7fYQvg/cryptography-0.3/cffi-0.8.2-py2.7-macosx-10.5-x86_64.egg/cffi/verifier.py", line 75, in load_library
File "/private/var/folders/wq/b5fcrhb931sbwq721hprjkc00000gn/T/easy_install-7fYQvg/cryptography-0.3/cffi-0.8.2-py2.7-macosx-10.5-x86_64.egg/cffi/verifier.py", line 151, in _load_library
File "/private/var/folders/wq/b5fcrhb931sbwq721hprjkc00000gn/T/easy_install-7fYQvg/cryptography-0.3/cffi-0.8.2-py2.7-macosx-10.5-x86_64.egg/cffi/vengine_cpy.py", line 138, in load_library
cffi.ffiplatform.VerificationError: importing '/var/folders/wq/b5fcrhb931sbwq721hprjkc00000gn/T/easy_install-7fYQvg/cryptography-0.3/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_48bbf0ebx93c91939.so': dlopen(/var/folders/wq/b5fcrhb931sbwq721hprjkc00000gn/T/easy_install-7fYQvg/cryptography-0.3/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_48bbf0ebx93c91939.so, 2): Library not loaded: libcrypto.1.0.0.dylib
Referenced from: /var/folders/wq/b5fcrhb931sbwq721hprjkc00000gn/T/easy_install-7fYQvg/cryptography-0.3/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_48bbf0ebx93c91939.so
Reason: image not found
Can anyone help? Thanks.