$ sudo pip install bcrypt Downloading/unpacking bcrypt Downloading bcrypt-1.0.2.tar.gz (40kB): 40kB downloaded Running setup.py (path:/private/tmp/pip_build_root/bcrypt/setup.py) egg_info for package bcrypt Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found c/_cffi_backend.c:13:10: fatal error: 'ffi.h' file not found #include <ffi.h> ^ 1 error generated. Traceback (most recent call last): File "<string>", line 17, in <module> File "/private/tmp/pip_build_root/bcrypt/setup.py", line 104, in <module> "Programming Language :: Python :: 3.3", File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup _setup_distribution = dist = klass(attrs) File "build/bdist.macosx-10.10-x86_64/egg/setuptools/dist.py", line 262, in __init__ File "build/bdist.macosx-10.10-x86_64/egg/setuptools/dist.py", line 287, in fetch_build_eggs File "build/bdist.macosx-10.10-x86_64/egg/pkg_resources.py", line 631, in resolve File "build/bdist.macosx-10.10-x86_64/egg/pkg_resources.py", line 874, in best_match File "build/bdist.macosx-10.10-x86_64/egg/pkg_resources.py", line 886, in obtain File "build/bdist.macosx-10.10-x86_64/egg/setuptools/dist.py", line 338, in fetch_build_egg File "build/bdist.macosx-10.10-x86_64/egg/setuptools/command/easy_install.py", line 613, in easy_install File "build/bdist.macosx-10.10-x86_64/egg/setuptools/command/easy_install.py", line 643, in install_item File "build/bdist.macosx-10.10-x86_64/egg/setuptools/command/easy_install.py", line 833, in install_eggs File "build/bdist.macosx-10.10-x86_64/egg/setuptools/command/easy_install.py", line 1055, in build_and_install File "build/bdist.macosx-10.10-x86_64/egg/setuptools/command/easy_install.py", line 1043, in run_setup distutils.errors.DistutilsError: Setup script exited with error: command 'clang' failed with exit status 1 Complete output from command python setup.py egg_info: Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found c/_cffi_backend.c:13:10: fatal error: 'ffi.h' file not found #include <ffi.h> ^ 1 error generated. Traceback (most recent call last): File "<string>", line 17, in <module> File "/private/tmp/pip_build_root/bcrypt/setup.py", line 104, in <module> "Programming Language :: Python :: 3.3", File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup _setup_distribution = dist = klass(attrs) File "build/bdist.macosx-10.10-x86_64/egg/setuptools/dist.py", line 262, in __init__ File "build/bdist.macosx-10.10-x86_64/egg/setuptools/dist.py", line 287, in fetch_build_eggs File "build/bdist.macosx-10.10-x86_64/egg/pkg_resources.py", line 631, in resolve File "build/bdist.macosx-10.10-x86_64/egg/pkg_resources.py", line 874, in best_match File "build/bdist.macosx-10.10-x86_64/egg/pkg_resources.py", line 886, in obtain File "build/bdist.macosx-10.10-x86_64/egg/setuptools/dist.py", line 338, in fetch_build_egg File "build/bdist.macosx-10.10-x86_64/egg/setuptools/command/easy_install.py", line 613, in easy_install File "build/bdist.macosx-10.10-x86_64/egg/setuptools/command/easy_install.py", line 643, in install_item File "build/bdist.macosx-10.10-x86_64/egg/setuptools/command/easy_install.py", line 833, in install_eggs File "build/bdist.macosx-10.10-x86_64/egg/setuptools/command/easy_install.py", line 1055, in build_and_install File "build/bdist.macosx-10.10-x86_64/egg/setuptools/command/easy_install.py", line 1043, in run_setup distutils.errors.DistutilsError: Setup script exited with error: command 'clang' failed with exit status 1 ---------------------------------------- Cleaning up... Command python setup.py egg_info failed with error code 1 in /private/tmp/pip_build_root/bcrypt -- https://mail.python.org/mailman/listinfo/python-list