I had this issue and realised that whilst I did have libxml2 installed, I didn’t have the necessary development libraries required by the python package. Installing them solved the problem:
sudo apt-get install libxml2-dev libxslt1-dev
sudo pip install lxml
More Related Contents:
- How can I convert JSON to CSV?
- How to merge lists into a list of tuples?
- What is the python keyword “with” used for? [duplicate]
- What is an alternative to execfile in Python 3?
- How to parse dates with -0400 timezone string in Python?
- Behavior of exec function in Python 2 and Python 3
- Pythonic way to check if a list is sorted or not
- Why do my Tkinter widgets get stored as None? [duplicate]
- Pyinstaller Unable to access Data Folder
- How to count the frequency of the elements in an unordered list?
- How do I get the path and name of the file that is currently executing?
- Python – use list as function parameters
- How can one continuously generate and track several random objects with a time delay in pygame? [duplicate]
- Scatter plot with different text at each data point
- How do I access the ith column of a NumPy multidimensional array?
- How can PySpark be called in debug mode?
- unexpected results converting timezones in python
- What does “error: option –single-version-externally-managed not recognized” indicate?
- Why is PyMongo 3 giving ServerSelectionTimeoutError?
- Discord Bot can only see itself and no other users in guild
- Python requests speed up using keep-alive
- How to print a binary tree in as a structure of nodes in Python
- Insert row into Excel spreadsheet using openpyxl in Python
- pytz – Converting UTC and timezone to local time
- Meaning of leading underscore in list of tuples used to define choice fields?
- A python class that acts like dict
- Catching exception in context manager __enter__()
- PyCharm hangs on ‘scanning files to index’ background task
- Beautiful Soup and Table Scraping – lxml vs html parser
- How to install multiple python packages at once using pip