Hi,
   I'm trying to setup a virtualenv to develop a project for
googleappengine. This is the first time I play with virtualenv.
I wanted to set it up with python2.5, to avoid getting all sort of
warnings from deprecated libraries etc.
Since my Ubuntu distro doesn't have python 2.5 packages, I downloaded
2.5.5, compiled and installed it on /usr/local/python2.5

I then did
virtualenv -p python2.5 --no-site-packages TEST_ENV_2.5

Then started figuring out what other dependencies I needed in the
virtualenv to get the system running.

So I did:
source activate
pip install readline
pip install ipython
pip install PIL

so far so good, no issues.

I then needed the package ssl and that's when it started going wrong:

....
copying test/test_ssl.py -> /usr/local/python2.5/lib/python2.5/test

error: /usr/local/python2.5/lib/python2.5/test/test_ssl.py: Permission denied

----------------------------------------
Command /home/jammyz/playground/TEST_ENV_2.5/bin/python2.5 -c "import
setuptools; __file__='/home/jammyz/playground/TEST_ENV_2.5/build/ssl/setup.py';
execfile('/home/jammyz/playground/TEST_ENV_2.5/build/ssl/setup.py')"
install --single-version-externally-managed --record
/tmp/pip-0Igjsq-record/install-record.txt --install-headers
/home/jammyz/playground/TEST_ENV_2.5/include/site/python2.5 failed
with error code 1
Storing complete log in /home/jammyz/.pip/pip.log
Traceback (most recent call last):
  File "/home/jammyz/playground/TEST_ENV_2.5/bin/pip", line 9, in <module>
    load_entry_point('pip==0.7.2', 'console_scripts', 'pip')()
  File 
"/home/jammyz/playground/TEST_ENV_2.5/lib/python2.5/site-packages/pip-0.7.2-py2.5.egg/pip/__init__.py",
line 94, in main
    return command.main(initial_args, args[1:], options)
  File 
"/home/jammyz/playground/TEST_ENV_2.5/lib/python2.5/site-packages/pip-0.7.2-py2.5.egg/pip/basecommand.py",
line 139, in main
    log_fp = open_logfile(log_fn, 'w')
  File 
"/home/jammyz/playground/TEST_ENV_2.5/lib/python2.5/site-packages/pip-0.7.2-py2.5.egg/pip/basecommand.py",
line 196, in open_logfile
    log_fp = open(filename, mode)
IOError: [Errno 13] Permission denied: '/home/jammyz/.pip/pip.log'


It still seems to be working fine, ssl seems to be available, but it
is not nice to see that error. Looks like it needs to copy a file into
the python2.5 installation folder and it doesn't have permissions.

I want to write a set of instructions on how to get the virtualenv
setup for other developers (working on Mac OS), is there any way I can
get around the permissions issue?

Thanks.

Iker.

-- 
You received this message because you are subscribed to the Google Groups 
"Python Ireland" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pythonireland?hl=en.

Reply via email to