Skip to content Skip to sidebar Skip to footer

Not Able To Install Lxml Verison 3.3.5 In Ubuntu

I am using openpyxl python package in my application. I am getting the following message when using the same. /usr/local/lib/python2.7/dist-packages/openpyxl/init.py:31: UserWa

Solution 1:

sudo pip install --upgrade lxml

Solution 2:

On Ubuntu (and other Debian derivatives), before you build some piece of software, ensure that its build dependencies are installed. Using your example, run this:

sudo apt-get build-dep python-lxml

That is likely going to require a whole bunch of packages, one of which is zlib1g-dev, as mentioned.

Solution 3:

I think what you're missing is zlib1g-dev.

sudo apt-get install zlib1g-dev

Running above command will solve the issue.

Post a Comment for "Not Able To Install Lxml Verison 3.3.5 In Ubuntu"