Help Center/ Elastic Cloud Server/ Troubleshooting/ Linux ECS Issues/ What Should I Do If Error "command ´gcc´ failed with exit status 1" Occurs During PIP-based Software Installation?
Updated on 2025-12-16 GMT+08:00
What Should I Do If Error "command ´gcc´ failed with exit status 1" Occurs During PIP-based Software Installation?
Symptom
When installing the Python library software, you need to configure the PIP source. An example is provided as follows:
[root@test home]# cat /root/.pip/pip.conf [global] index-url = https://pypi.mirrors.ustc.edu.cn/simple/ trusted-host = pypi.mirrors.ustc.edu.cn
During the installation, the system displays the message "command ´gcc´ failed with exit status 1". However, GCC has been installed by running the yum command before the Python library software is installed using the PIP.
Figure 1 Installation error
Possible Causes
openssl-devel is not supported.
Parent topic: Linux ECS Issues
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot
