Closed
Description
- Pip version: 9.0.1
- Python version: 3.5.2
- Operating system: Mac
Description:
If you try to install a package from git repository, with package pinned to a tag or a commit, and this fails due to network issues, all other attempts give
Obtaining django from git+https://github.com/Euphorbium/django.git@reverse-multithreading#egg=django (from -r requirements.txt (line 6))
Complete output from command git rev-parse HEAD:
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
HEAD
----------------------------------------
Command "git rev-parse HEAD" failed with error code 128 in /pipeline/source/src/django
removing the cache directory does not help.
What I've run:
pip install --cache-dir ${pip_download_cache} -r requirements.txt