Getting Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed? when installing lxml through pip
Install lxml from http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml for your python version. It's a precompiled WHL with required modules/dependencies.
The site lists several packages, when e.g. using Win32 Python 3.11, use lxml‑4.9.0‑cp311‑cp311‑win32.whl
.
Download the file, and then install with:
pip install C:\path\to\downloaded\file\lxml‑4.9.0‑cp311‑cp311‑win32.whl
Getting Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed? when installing lxml through pip
Install lxml from http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml for your python version. It's a precompiled WHL with required modules/dependencies.
The site lists several packages, when e.g. using Win32 Python 3.11, use lxml‑4.9.0‑cp311‑cp311‑win32.whl
.
Download the file, and then install with:
pip install C:\path\to\downloaded\file\lxml‑4.9.0‑cp311‑cp311‑win32.whl
Can't install python lxml (and libxml2) on windows
You can try the binary from here.
First do pip install wheel
and then pip install <filename.whl>
to install the downloaded binary.
Related Topics
Python - Using Pandas Structures with Large CSV(Iterate and Chunksize)
Subprocess: Deleting Child Processes in Windows
How to Pass a User Defined Argument in Scrapy Spider
Add Sum of Values of Two Lists into New List
Differences Between Numpy.Random and Random.Random in Python
How to Load Existing Db File to Memory in Python SQLite3
Import Error: No Module Named Numpy
Python Readlines() Usage and Efficient Practice for Reading
How to Apply Gradient Clipping in Tensorflow
Pygame Image Transparency Confusion
In Python, How to Convert Seconds Since Epoch to a 'Datetime' Object
How to Create a Datetime in Python from Milliseconds
What Is the Recommended Way of Allocating Memory for a Typed Memory View
How to "Properly" Print a List
Convert List to Tuple in Python
How to Read a Function's Signature Including Default Argument Values