在EC2 linux实例上安装pysftp失败

Dar*_* Wu 5 python pip amazon-ec2

我有一个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/
Run Code Online (Sandbox Code Playgroud)

我的python版本是2.7,pip版本是8.1.2.pip和sudo点都指向路径"/ usr/local/bin/pip"

谁能帮我?谢谢!