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.
You are watching: Error command gcc failed with exit status 1
Figure 1 Installation error
The following operations use psutil as an example:Use PIP to install the Python library software again. The error message is cleared.
Figure 2 Successful installation
Last Article: How Do I Set vCPU Affinity for Processes Using taskset?
Next Article: What Can I Do If Switching from a Non-root User to User root Times Out?
Thank you for your feedback. Your feedback helps make our documentation better.
Which of the following issues have you encountered?1. Document was unavailable due to incorrect or outdated description2. Unclear or awkward description 3. Lack of principles, scenarios, or operation examples 4. Invalid links 5. Difficult to find documents Others
Please complete at least one feedback item.
See more: What Is 75 Degrees Celsius In Fahrenheit To Celsius, 75 Celsius In Fahrenheit
Content most length 200 character
Content is empty.OKCancel
Service and allisonbrookephotography.com Documentation Self Service Contact Sales After-Sales Service Assurance Account and Billing Charge/Payment Invoices Billing Center My Account Payment Method Quick Links About Us Case Studies Free Registration Console ICP License Service Legal Other Links Huawei Corporate Huawei Enterprise Huawei Consumer Business Trust Center Security Compliance