繁体   English   中英

安装flask-bcrypt

[英]Installing flask-bcrypt

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

以适当者为准。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM