简体   繁体   中英

Pip install lxml stuck on: Building wheel for lxml (setup.py) ... \ (MacOS)

When I try to install lxml for python3.10 with this code:

python3.10 pip3 install lxml

It just gets stuck on:

Collecting lxml
  Using cached lxml-4.9.1.tar.gz (3.4 MB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: lxml
  Building wheel for lxml (setup.py) ... \

Anyone who knows a fix for this?

Run pip command for lxml specific package. Later you can upgrade the package if you need the latest package.

pip3 install lxml==version [pip3 install lxml==4.9.1]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM