[XML-SIG] Newbie: how do I install PyXML to a local directory?

Martin v. Loewis martin@v.loewis.de
19 Oct 2002 05:41:36 +0200


Ramon Felciano <felciano@yahoo.com> writes:

> I'm trying to install PyXML on an ISP-hosted site
> where I don't have su privileges. Can someone point me
> to documentation for how to install python packages to
> a local user directory, and instruct python to search
> there for packages as well? 

See

http://www.python.org/doc/current/inst/alt-install-windows.html

The "home scheme" ought to work.

> Part of the problem is that I'm relative newbie to
> Python (but love it!) and am not clear what the Python
> 'idiom' is for local installs of packages. I'd like to
> set up my directory structure in 'python way' but
> can't figure out what that is!

Essentially, you can install things anywhere, and then set PYTHONPATH
to make Python aware of it.

Regards,
Martin