[Tutor] yes, I am being lazy...

Steven D'Aprano steve at pearwood.info
Sun Nov 23 13:31:48 CET 2014

On Sat, Nov 22, 2014 at 08:28:42PM -0800, Clayton Kirkwood wrote:
> I have had my first experience in downloading and trying to lay-in several
> new modules. I downloaded requests and urllib3, unpacked them (on a windows
> system) and extracted them from the zip.  I don't understand how setup.py
> and .cfg are supposed to implant them into the python hierarchy. The install
> doesn't seem to insert them in the python directory. The build puts them
> under the current directory. Seems odd. I've moved the sub-directory into
> python/lib by hand. Doesn't seem right. 

That's because it's not right.

You're supposed to run setup.py. From the Windows command line, you run 
something like:

cd directory/where/you/unpacked/the/files
python3.4 setup.py install

or whatever version of Python you're using. Try reading the README file, 
that normally will have instructions, although you may have to "fill in 
the gaps", so to speak.

> I am tired and frustrated.

Sorry to hear that.

> Not that you care Steven:<)))

"Just because I don't care doesn't mean I don't understand!" 
-- Homer Simpson


More information about the Tutor mailing list