【问题标题】:Installing flask-bcrypt安装烧瓶 bcrypt
【发布时间】:2015-11-24 16:50:47
【问题描述】:

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

知道如何成功安装吗?

【问题讨论】:

    标签: python flask installation pip


    【解决方案1】:

    您可能需要开发库,

    试一试

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

    或

    yum groupinstall "Development Tools"
    yum install python-devel
    

    哪个合适。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-06-04
      • 1970-01-01
      • 1970-01-01
      • 2018-06-11
      • 1970-01-01
      • 2019-01-04
      • 2020-08-14
      相关资源
      最近更新 更多