Issue #167 invalid

distribute installation fail on multi-user system

Anonymous created an issue

During distribute's installation process it tries to save the distribute tarball as /tmp/distribute-VERSION.tar.gz. If distribute has already been installed by another user, it will not be able to create/overwrite the existing file in /tmp. The result is a permission denied error. Installation fails with:

Installing distribute...Traceback (most recent call last): File "/users/kloeckner/mach/x86_64/pool/bin/virtualenv", line 8, in <module> load_entry_point('virtualenv==1.4.5', 'console_scripts', 'virtualenv')() File "/users/kloeckner/mach/x86_64/pool/lib/python2.6/site-packages/virtualenv-1.4.5-py2.6.egg/virtualenv.py", line 529, in main use_distribute=options.use_distribute) File "/users/kloeckner/mach/x86_64/pool/lib/python2.6/site-packages/virtualenv-1.4.5-py2.6.egg/virtualenv.py", line 617, in create_environment install_distribute(py_executable, unzip=unzip_setuptools) File "/users/kloeckner/mach/x86_64/pool/lib/python2.6/site-packages/virtualenv-1.4.5-py2.6.egg/virtualenv.py", line 364, in install_distribute _install_req(py_executable, unzip, distribute=True) File "/users/kloeckner/mach/x86_64/pool/lib/python2.6/site-packages/virtualenv-1.4.5-py2.6.egg/virtualenv.py", line 332, in _install_req shutil.copy(source, target) File "/users/kloeckner/mach/x86_64/pool/lib/python2.6/shutil.py", line 88, in copy copyfile(src, dst) File "/users/kloeckner/mach/x86_64/pool/lib/python2.6/shutil.py", line 53, in copyfile fdst = open(dst, 'wb') IOError: [Errno 13] Permission denied: '/tmp/distribute-0.6.8.tar.gz'

Comments (1)

  1. Log in to comment