When installing the Python library software, you have to configure the PIP source. An instance is provided as follows:

test home># cat /root/.pip/pip.conf index-url = https://pypi.mirrors.ustc.edu.cn/simple/trusted-host = pypi.mirrors.ustc.edu.cn
During the installation, the system display screens the article "command ´gcc´ failed with leave status 1". However, GCC has actually been mounted by to run the yum command prior to the Python library software is set up using the PIP.

You are watching: Error command gcc failed with exit status 1

Figure 1 Installation error


The following operations usage psutil as an example:

Use PIP to install the Python library software program again. The error article is cleared.
Figure 2
Successful installation

last Article: exactly how Do I collection vCPU Affinity for processes Using taskset?

next Article: What deserve to I carry out If switching from a Non-root User come User source Times Out?

Submit successfully!

Thank friend for her feedback. Your feedback helps make our documentation better.

Which of the following worries have girlfriend encountered?

1. Paper was unavailable because of incorrect or outdated description2. Unclear or awkward description 3. Absence of principles, scenarios, or operation examples 4. Invalid links 5. Complicated to find documents rather

Please finish at the very least one feedback item.

See more: Your Pretty Face Is Going To Hell Season 5, : Will It Happen

Content most size 200 character

Content is empty.



Service and also sommos.net Documentation Self business contact Sales After-Sales organization Assurance Account and also Billing Charge/Payment Invoices Billing facility mine Account Payment technique quick Links around Us case Studies totally free Registration Console ICP License company legitimate Other links Huawei corporate Huawei enterprise Huawei Consumer company Trust facility defense Compliance