when I try to install Flask-bcrypt it throws me error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

余生颓废 提交于 2019-12-06 15:38:32

sudo apt-get install python-dev

if you find that after installing Python-dev and u having trouble then install the Foreign function interface. thats when i was able to install brypt:

sudo apt-get install libffi-dev

Depending on your configuration you might need to install the python3-dev package.

You need python-dev package installed to build Python extensions.

You didn't mention what OS you're using, but you need to have Python-dev installed.

Assuming Ubuntu:

sudo apt-get install python-dev
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!