Note when putting lxml of python package in ubuntu 14.04

pip install lxml

And this error. ..

error: libxml/xmlversion.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

It seems that there is no gcc-like one, so execute the ↓ -like command.

$ sudo apt-get install -y libxml2-dev libxslt1-dev

after this

pip install lxml

The package is safely installed.

Recommended Posts

Note when putting lxml of python package in ubuntu 14.04
[Python] Calculate the number of digits required when filling in 0s [Note]
Install python package in personal environment on Ubuntu
Note on encoding when LANG = C in Python
[Note] About the role of underscore "_" in Python
Beep in Python (Ubuntu)
Operate mongoDB from python in ubuntu environment ① Introduction of mongoDB
Things to note when initializing a list in Python
Python package management in IntelliJ
Python Input Note in AtCoder
Attention when os.mkdir in Python
Implementation of quicksort in Python
[Note] Import of a file in the parent directory in Python
A record of patching a python package
Pixel manipulation of images in Python
Resolved an error when putting pygame in python3 on raspberry pi
[Note] Project Euler in Python (Problem 1-22)
Behavior when listing in Python heapq
Division of timedelta in Python 2.7 series
Put python, numpy, opencv3 in ubuntu14
Bayesian optimization package GPyOpt in Python
MySQL-automatic escape of parameters in python
Handling of JSON files in Python
Implementation of life game in Python
Waveform display of audio in Python
Foreign Key in Python SQLite [Note]
Introduction of python drawing package pygal
Law of large numbers in python
Implementation of original sorting in Python
Reversible scrambling of integers in Python
When using regular expressions in Python
When writing a program in Python
Python Note: When you want to know the attributes of an object
A useful note when using Python for the first time in a while
When specifying multiple keys in python sort
Conversion of string <-> date (date, datetime) in Python
python note: when easy_install is not available
Check the behavior of destructor in Python
(Bad) practice of using this in Python
Create ScriptableObject in Python when building ADX2
Precautions when pickling a function in python
Output tree structure of files in Python
Display a list of alphabets in Python 3
Comparison of Japanese conversion module in Python3
Note when creating an environment with python
Summary of various for statements in Python
Package management in Maya-try putting pip in mayapy
The result of installing python in Anaconda
When looking at memory usage in Python 3
Gang of Four (GoF) Patterns in Python
When the target is Ubuntu 16.04 in Ansible
The basics of running NoxPlayer in Python
(Note) Bulk upgrade of python installed packages
Bulk replacement of strings in Python arrays
Project Euler # 16 "Sum of Powers" in Python
Traffic Safety-kun: Recognition of traffic signs in Python
Summary of built-in methods in Python list
Non-logical operator usage of or in python
In search of the fastest FizzBuzz in Python
Python Note: The secret role of commas
Practical example of Hexagonal Architecture in Python