我有一个AWS EC2 linux实例,我正在尝试安装pysftp来编写python脚本来管理STFP服务器中的文件。
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;
__file__='/tmp/pip-build-jFfbH5/cryptography/setup.py';
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install
--record /tmp/pip-gok42x-record/install-record.txt
--single-version-externally-managed
--compile" failed with error code 1 in /tmp/pip-build-jFfbH5/cryptography/
我的python版本是2.7,pip版本是8.1.2。 pip和sudo pip都指向路径“/ usr / local / bin / pip”
任何人都可以帮助我吗?谢谢!