close

[Solved] Python: ImportError: lxml not found, please install it

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Python: ImportError: lxml not found, please install it in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Python: ImportError: lxml not found, please install it Error Occurs?

Today I get the following error Python: ImportError: lxml not found, please install it in python.

How To Solve Python: ImportError: lxml not found, please install it Error ?

  1. How To Solve Python: ImportError: lxml not found, please install it Error ?

    To Solve Python: ImportError: lxml not found, please install it Error For people reached here using Jupyter notebook, I restarted the kernel after pip install lxml and the error is gone.

  2. Python: ImportError: lxml not found, please install it

    To Solve Python: ImportError: lxml not found, please install it Error For people reached here using Jupyter notebook, I restarted the kernel after pip install lxml and the error is gone.

Solution 1

Based on the fact that the error is:

/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6

This means that you are working with python-3.6. Now usually the package manager for python-3.x is pip3. So you probably should install it with:

pip3 install lxml

Solution 2

For people reached here using Jupyter notebook, I restarted the kernel after pip install lxml and the error is gone.

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read