2

I am trying to install flask-bcrypt using pip install flask-bcrypt

but I keep getting the following error

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

Any idea how to install it successfully?

1 Answer 1

1

You may need the development libraries,

Try either

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

or

yum groupinstall "Development Tools"
yum install python-devel

Whichever is appropriate.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.