Reputation: 41
I am having some problems installing lxml 3.6.4 in python 3.6 64bit using Pycharm and PIP.
pip install lxml==3.6.4
ERROR: b"'xslt-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"
** make sure the development packages of libxml2 and libxslt are installed **
When installing libxml
pip install libxml2-dev
I get the following error:
Collecting libxml2-dev
Could not find a version that satisfies the requirement libxml2-dev (from versions: )
No matching distribution found for libxml2-dev
When running libxslt
pip install libxslt
I get this error
Collecting libxslt
Could not find a version that satisfies the requirement libxslt (from versions: )
No matching distribution found for libxslt
The ultimate goal is to install pyiso on Pycharm.
My specs - Windows 7 - 64 Python 3.6
Upvotes: 3
Views: 15521
Reputation: 9681
On Linux, with the typo corrected, @pguardiario's comment above fixed this for me.
sudo apt-get install libxml2-dev libxslt-dev
Then:
conda install lxml
Or:
pip install lxml
Upvotes: 4