Python Forum
lxml missing libxml2, libxslt
Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
lxml missing libxml2, libxslt
#2
For 3.6 there was only pip install lxml (libxml2,libxslt) is a part of lxml wheel in this install.
Maybe because 3.7 is so new yet,then it will try compile with command over(as in the old days before wheel).

So use wheel from gohlke.
Example i do it virtual environment to test new install:
(aaa) C:\aaa
λ python -V
Python 3.7.0

(aaa) C:\aaa
λ pip -V
pip 10.0.1 from c:\aaa\lib\site-packages\pip (python 3.7)

# Install
(aaa) C:\aaa
λ pip install lxml-4.2.3-cp37-cp37m-win32.whl
Processing c:\aaa\lxml-4.2.3-cp37-cp37m-win32.whl
Installing collected packages: lxml
Successfully installed lxml-4.2.3

# Test
(aaa) C:\aaa
λ python
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from lxml import etree
>>> etree.__version__
'4.2.3'
>>>
Reply


Messages In This Thread
lxml missing libxml2, libxslt - by cawtx - Jul-13-2018, 04:56 PM
RE: lxml missing libxml2, libxslt - by snippsat - Jul-13-2018, 05:53 PM
RE: lxml missing libxml2, libxslt - by cawtx - Jul-13-2018, 11:13 PM
RE: lxml missing libxml2, libxslt - by snippsat - Jul-13-2018, 11:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  lxml - etree/lxml need help storing variable for most inserted element goeb 0 3,193 Apr-01-2019, 03:09 AM
Last Post: goeb

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020