What's the best way to write this regular expression?

John Salerno johnjsal at gmail.com
Thu Mar 8 16:40:18 EST 2012


On Mar 8, 3:33 pm, John Salerno <johnj... at gmail.com> wrote:
> Alright, I'm simply lost about how to install these modules. I
> extracted the folders from the .tar.gz files and then went into those
> folders in my command prompt. I typed:
>
> C:\Python32\python setup.py install
>
> and for a while something was happening (I was doing the lxml one) and
> then it stopped with an error that it couldn't find a file. So I have
> no idea.
>
> Next I installed the "distribute" module, which seemed to install
> okay. But now I don't understand how to use easy_install. Where do I
> call it from? What do I do with the .tar.gz files at this point? The
> instructions for lxml say to run this command:
>
> easy_install --allow-hosts=lxml.de,*.python.org lxml
>
> but WHERE do I run it? I tried it in the Python directory, and then
> further in the lxml site-packages directory, but it doesn't work. What
> do I do with it? Where do I put the .tar files?

Well, after a bit of experimentation, I got it to run, but I seem to
have run into the same error as when I used setup.py:

http://i271.photobucket.com/albums/jj138/JohnJSal/lxml_error.png

Now I have no idea what to do.



More information about the Python-list mailing list