0

I want to install lxml on an Ubuntu VPS, but I'm having problems. There is no site-packages directory where I can put lxml. How I am supposed to install it?

I tried doing:

apt-get install python-lxml, but it says that the package is unavailable, so I tried moving it there but I don't have site-packages folder. I'm running Ubuntu 10.04 LTS with Python 2.6, or more info:

> Python 2.6.5 [GCC 4.4.3] on linux2

Any help will be appreciated, thanks!

1 Answer 1

0

Can you give the error reports on running the apt-get install python-lxml command?. Generally path where modules are stored /usr/lib/. For python modules try using the python based installers PIP, easy_install!

3
  • Hi, first thanks for the answer. The error is ""package 'python-lxml' doesn't exist"". I have a folder called dist-packages, but no site-packages. Maybe I should put them there? But the problem is that there are no modules there, only 3 files (in dist-packages).
    – maikati
    Jan 26, 2013 at 6:32
  • Wow, I played with it an hour ago and it worked. You are awesome man, thanks, really!
    – maikati
    Jan 26, 2013 at 7:05
  • How did yu do ? PIP or easy_install!
    – Andrew
    Jan 26, 2013 at 15:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .