pip can create a temporary build directory as a subdirectory of the download cache. If this hasn't been cleaned up successfully, then pip-accel fails:
$ ~/.virtualenvs/jenkins-job-builder/bin/pip-accel install jenkins-job-builder
Traceback (most recent call last):
File "/home/davidf/.virtualenvs/jenkins-job-builder/bin/pip-accel", line 9, in <module>
load_entry_point('pip-accel==0.13.2', 'console_scripts', 'pip-accel')()
File "/home/davidf/.virtualenvs/jenkins-job-builder/local/lib/python2.7/site-packages/pip_accel/__init__.py", line 104, in main
initialize_directories()
File "/home/davidf/.virtualenvs/jenkins-job-builder/local/lib/python2.7/site-packages/pip_accel/__init__.py", line 426, in initialize_directories
update_source_dists_index()
File "/home/davidf/.virtualenvs/jenkins-job-builder/local/lib/python2.7/site-packages/pip_accel/__init__.py", line 358, in update_source_dists_index
archive_path = os.path.join(source_index, add_extension(download_path, archive_name))
File "/home/davidf/.virtualenvs/jenkins-job-builder/local/lib/python2.7/site-packages/pip_accel/__init__.py", line 385, in add_extension
handle = open(download_path, 'rb')
IOError: [Errno 21] Is a directory: '/home/davidf/Download/pip-cache/build'
pip can create a temporary
build
directory as a subdirectory of the download cache. If this hasn't been cleaned up successfully, then pip-accel fails: