Lxml in anaconda do not see in python

ImportError: lxml not found, please install it

Requirement already satisfied: lxml in ./opt/anaconda3/lib/python3.9/site-packages (4.8.0)

Do not see in Python 3.10

Can anyone help

1 Like

dear stevelanc47.

Thank you for your contribution to the anaconda community.
As you can see from the error message, the python package “lxml 4.9.1” is simply not installed.

Therefore, if you install it with reference to the following URL, the problem will be solved.

https://anaconda.org/anaconda/lxml

Best regards
ktsh.tanaka.2020

Thank you for your reply

I actually found a solution based on error messages in debug mode

  1. Upgraded pip to newest version
  2. Installed xCode on my MAC

Then ran installs via Terminal

Now it works fine

Cheers

Steve

1 Like