![]() So I tried the "pip install lxml-4.7.1-cp310-cp310-win_amd64.whl" command in the VSC terminal and got this error: ERROR: lxml-4.7.1-cp310-cp310-win_amd64.whl is not a supported wheel on this platform. Then I went back to the VSC terminal, ran "pip install lxml" and got the same error message as I did before. So then I did the same command but added the -force-reinstall and it said it successfully installed lxml-4.7.1. Use -force-reinstall to force an installation of the wheel. After downloading the lxml‑4.7.1‑cp310‑cp310‑win_amd64.whl version (since it matched my python version) I tried using the following command in the windows command prompt: pip install lxml-4.7.1-cp310-cp310-win_amd64.whlĪnd I got this result: lxml is already installed with the same version as the provided wheel. So I went to this website to download libmxl2 and libxslt. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Do you need to install a parser library?įrom there, I tried to install lxml by using the command in the VSC terminal: pip install lxmlĪnd I got this error message: Collecting lxmlĮRROR: Command errored out with exit status 1:Ĭommand: /usr/bin/python3.6 -c 'import io, os, sys, setuptools, tokenize sys.argv = '"'"'/tmp/pip-install-xgwntbxb/lxml_73c33ff5c1614a6da59bbd9f3017fa5c/setup.py'"'"' _file_='"'"'/tmp/pip-install-xgwntbxb/lxml_73c33ff5c1614a6da59bbd9f3017fa5c/setup.py'"'"' f = getattr(tokenize, '"'"'open'"'"', open)(_file_) if os.path.exists(_file_) else io.StringIO('"'"'from setuptools import setup setup()'"'"') code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"') f.close() exec(compile(code, _file_, '"'"'exec'"'"'))' egg_info -egg-base /tmp/pip-pip-egg-info-ezhmqybuĬwd: /tmp/pip-install-xgwntbxb/lxml_73c33ff5c1614a6da59bbd9f3017fa5c/Įrror: Please make sure the libxml2 and libxslt development packages are installed. I realized I needed lxml from this error message in my VSC terminal: Traceback (most recent call last):įile "/usr/lib/python3.6/site-packages/bs4/_init_.py", line 248, inīs4.FeatureNotFound: Couldn't find a tree builder with the features you I am using Visual Studio Code (VSC) as well. I have Windows 11 and Python version python-3.10.2-amd64. I am attempting to use pip to install lxml. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |