Illegal instruction on etree import inside docker container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
New
|
Undecided
|
Unassigned |
Bug Description
I'm inside a docker container. Importing lxml 3.7.0 exits with "Illegal instruction". This is not the case on older lxml:
user@desktop:
root@46b02a5fa3
[...]
root@46b02a5fa3
[...]
root@46b02a5fa3
Collecting lxml
Downloading lxml-3.
100% |######
Installing collected packages: lxml
Successfully installed lxml-3.7.0
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
root@46b02a5fa3
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from lxml import etree
Illegal instruction
Downgrading works fine:
root@46b02a5fa3
Collecting lxml==3.6.4
Downloading lxml-3.
100% |######
Installing collected packages: lxml
Found existing installation: lxml 3.7.0
Uninstalling lxml-3.7.0:
Successfully uninstalled lxml-3.7.0
Successfully installed lxml-3.6.4
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
root@46b02a5fa3
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from lxml import etree
>>>
This seems to be a duplicate of: /bugs.launchpad .net/lxml/ +bug/1652191
https:/