When I try to run (virtualenv-1.0)
python virtualenv.py ~/localpy
I get
New python executable in /home/me/localpy/bin/python
Installing setuptools.............................
Complete output from command /home/me/localpy/bin/python -c "#!
python
\"\"\"Bootstrap setuptoo...
" support-files/setuptools-0.6c7-py2.4.egg:
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in
the
installation directory:
[Errno 13] Permission denied: '/usr/local/lib/python2.4/site-
packages/test-easy-install-26146.pth'
The installation directory you specified (via --install-dir, --prefix,
or
the distutils default setting) was:
/usr/local/lib/python2.4/site-packages/
Perhaps your account does not have write access to this directory? If
the
installation directory is a system-owned directory, you may need to
sign in
as the administrator or "root" account. If you do not have
administrative
access to this machine, you may wish to choose a different
installation
directory, preferably one that is listed in your PYTHONPATH
environment
variable.
For information on other options, you may wish to consult the
documentation at:
http://peak.telecommunity.com/EasyInstall.html
Please make the appropriate changes for your system and try again.
----------------------------------------
...Installing setuptools...done.
Traceback (most recent call last):
File "virtualenv.py", line 827, in ?
main()
File "virtualenv.py", line 337, in main
create_environment(home_dir, site_packages=not
options.no_site_packages, clear=options.clear)
File "virtualenv.py", line 536, in create_environment
install_setuptools(py_executable)
File "virtualenv.py", line 260, in install_setuptools
extra_env=env)
File "virtualenv.py", line 396, in call_subprocess
raise OSError(
OSError: Command /home/me/localpy/bin/python -c "#!python
\"\"\"Bootstrap setuptoo...
" support-files/setuptools-0.6c7-py2.4.egg failed with error code 1
Any suggestions what might be going on. I tried verbose output, but
didn't get any more information.
I have no PYTHONPATH set and have no ~/.pydisutils.cfg
Cheers,
Malte.