Open chief-tyrol opened 4 years ago
I was able to workaround this issue by specifying the python version as a pipenv option argument:
pipenv --python 3.6.9 install
Thanks guys this was helpful. I'm on 3.7.5 on Mac and don't want to mess with python versions..(even with pipenv!?) I changed the Pipfile line with the lxml version to this: lxml = ">4.4." And I ran the script and it worked.
Was scratching my head over this issue for a while, so documenting it to benefit others.
The current version of
lxml
inPipfile.lock
(4.1.0) was released on 2017-10-13, and doesn't appear to be compatible with Python versions 3.7 or newer.Minimal example showing the issue
Succeeds
Fails
(I also tried with Python 3.8, and got the same error)
I've attached the output of the failing example here: error_log.txt
Suggested Remediation
Short term, just making a note in the README that Python 3.6 is required is probably sufficient, long term upgrading
lxml
would likely fix the issue