[Distutils] Problem installing setuptools under virtual python environment
Tres Seaver
tseaver at palladion.com
Fri Sep 18 04:37:58 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
dan wrote:
> I am on a Cent OS shared system (i.e. I don't have root) with python
> 2.4 and am having trouble setting up setuptools in a virtual
> environment.
>
> I start by setting up the virtual environment:
>
> $/usr/bin/python2.4 virtual-python.py --prefix=~/apps/python
> Creating /fslhome/ddw28/apps/python/lib/python2.4
> Creating /fslhome/ddw28/apps/python/lib/python2.4/site-packages
> Creating /fslhome/ddw28/apps/python/include/python2.4
> Creating /fslhome/ddw28/apps/python/bin
> Copying /usr/bin/python2.4 to /fslhome/ddw28/apps/python/bin
> You're now ready to download ez_setup.py, and run
> /fslhome/ddw28/apps/python/bin/python ez_setup.py
I'm pretty sure the right answer to your question is "Use virtualenv.py
instead of virtual-python.py".
AFAIK, virtual-python.py is unsupported any longer, and virtualenv.py
pre-installs setuptools for you.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFKsvKG+gerLs4ltQ4RAicRAJ4gTqQtiJM5/UIvKOUEhsAZovpiqgCePcQQ
mTZbgS1zVzG15WFn08p5i+0=
=/nbS
-----END PGP SIGNATURE-----
More information about the Distutils-SIG
mailing list