Tag: libffi

在OS X上用pip安装bcrypt时出错:找不到ffi.h(安装了libffi)

我试图用pip安装bcrypt时遇到这个错误。 我在几个地方安装了libffi(Xcode OS X SDK和自制软件),但是我不知道如何告诉pip来寻找它。 有什么build议么? Downloading/unpacking bcrypt==1.0.2 (from -r requirements.txt (line 41)) Running setup.py egg_info for package bcrypt OS/X: confusion between 'cc' versus 'gcc' (see issue 123) will not use '__thread' in the C code c/_cffi_backend.c:14:10: fatal error: 'ffi.h' file not found #include <ffi.h> ^ 1 error generated. Traceback (most recent call last): File […]