Opened 10 years ago

Closed 10 years ago

#895 closed defect (invalid)

Missing lxml packagee on update

Reported by: Daniel Krol Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: Parent Tickets:

Description

I started the installation process about a week ago (I assume you can look at timestamps on this ticket). I stopped right around the point where you set up mediagoblin_local.ini. I just came back and decided to run the update command before continuing:

./bin/python setup.py develop --upgrade && ./bin/gmg dbupdate && git submodule fetch

It started fetching packages, but suddenly ended thusly:

ImportError: No module named lxml.html.clean

I don't know if this happens if I build from scratch. To fix this, I went the route of:

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

So that lxml would build (I got that from Stack Overflow. I didn't test that both are required). Then:

pip install lxml

Now when I run the update command, the missing lxml error doesn't come up.

Caveat: I accidentally ran the update script when not in the virtual env, so maybe I put this thing in a weird state.

Change History (1)

comment:1 by Daniel Krol, 10 years ago

Resolution: invalid
Status: newclosed

Nevermind, I think I screwed up the virtualenv to not look at the lxml apt package I installed.

Note: See TracTickets for help on using tickets.