0
我试图通过命令pip install paypalrestsdk
将paypalrestsdk安装到我的virutalenv目录(/ var/www/tipomat)。 virtualenv目录被激活。python virtualenv更新模块错误
有一个在安装结束时的错误:
Command "/var/www/tipomat/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-JNYP2q/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-McjuwW-record/install-record.txt --single-version-externally-managed --compile --install-headers /var/www/tipomat/include/site/python2.7" failed with error code 1 in /tmp/pip-build-JNYP2q/cffi
我有setuptools的(12.0.5)
,该问题是Debian的操作系统虚拟专用服务器上。
Ouuu,我找到了解决办法:sudo apt-get install libffi-dev .. – 2015-02-10 13:48:23