2015-11-24 203 views
0

我試圖用 PIP安裝燒瓶bcrypt安裝燒瓶bcrypt

安裝燒瓶bcrypt,但我不斷收到以下錯誤

Collecting cffi>=1.1 (from bcrypt->flask-bcrypt) 
Using cached cffi-1.3.1.tar.gz 
Complete output from command python setup.py egg_info: 
unable to execute 'gcc': No such file or directory 
unable to execute 'gcc': No such file or directory 

    No working compiler found, or bogus compiler options 
    passed to the compiler from Python's distutils module. 
    See the error messages above. 
    (If they are about -mno-fused-madd and you are on OS/X 10.8, 
    see http://stackoverflow.com/questions/22313407/ .) 

---------------------------------------- 
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-dGKCUD/cffi 

不知道如何安裝成功呢?

回答

1

您可能需要的開發庫,

嘗試要麼

apt-get install build-essential 
apt-get install python-devel 

yum groupinstall "Development Tools" 
yum install python-devel 

無論是適當的。