Solve \\”command \\’gcc\\’ failed with exit status 1\\” error problem

888u

Last update at :2024-06-24,Edit by888u

Snail encountered the error "command \'gcc\' failed with exit status 1\\" when using pip to install Python library software. It seemed that the gcc component was missing, but it was indeed executed before installation. I installed gcc through yum, but I still had this problem, so I searched and found that some netizens mentioned the lack of openssl-devel support.

Solution:

yum install gcc libffi-devel python-devel openssl-devel -y

After the execution is completed, go back to the previously executed pip installation python library command. After execution, Snail does not see an error message.

It seems the problem is solved.

Recommended site search: foreign permanent free server recommendation, com domain name registration for 1 yuan, free proxy server, domain name network, US virtual host purchase, Ministry of Industry and Information Technology ICP registration inquiry, which high-defense game server is the best, godaddy registered domain name, pw domain name ip168,

Solve \\”command \\’gcc\\’ failed with exit status 1\\” error problem

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码