Python 安装烧瓶bcrypt

Python 安装烧瓶bcrypt,python,flask,installation,pip,Python,Flask,Installation,Pip,我正在尝试使用安装flask bcrypt pip安装烧瓶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 e

我正在尝试使用安装flask bcrypt pip安装烧瓶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

知道如何成功安装吗?

您可能需要开发库

试试

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

以适当者为准

yum groupinstall "Development Tools"
yum install python-devel