Closed hvdklauw closed 11 years ago
Could work around it for now by settings the PIP_ACCEL_CACHE and PIP_DOWNLOAD_CACHE
I found it in code too. It is nice to put it in wiki or docs.
Thanks for the feedback @Harro and @l0kix2! I've now documented the environment variables in the readme and I've published version 0.7.3 of pip-accel to PyPi. The new version uses the effective user id instead of os.path.expanduser()
(which looks at $HOME
). Can you confirm whether the issue is resolved?
Thanks for addition info in docs.
I'm pretty sure this issue is resolved, so I'm going to go ahead and close it. If the issue is not resolved for either of you, feel free to reopen. Thanks for the feedback!
File "/srv/sites/trello_burndown/releases/8acf54903e6b-1304290842/.env/bin/pip-accel", line 8, in
load_entry_point('pip-accel==0.7.2', 'console_scripts', 'pip-accel')()
File "/srv/sites/trello_burndown/releases/8acf54903e6b-1304290842/.env/local/lib/python2.7/site-packages/pip_accel.py", line 89, in main
initialize_directories()
File "/srv/sites/trello_burndown/releases/8acf54903e6b-1304290842/.env/local/lib/python2.7/site-packages/pip_accel.py", line 493, in initialize_directories
os.makedirs(directory)
File "/srv/sites/trello_burndown/releases/8acf54903e6b-1304290842/.env/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/srv/sites/trello_burndown/releases/8acf54903e6b-1304290842/.env/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/home/harro/.pip'