python - PIP install error with git repository packages -


i have old django project needs deploy now. need install exact versions used in project.

in project's requirements.txt there packages git repos.

while installing requirements using

pip install -r requirements.txt throwing following error.

  file "/home/nyros/desktop/new/rmkenv/local/lib/python2.7/site-packages/pip/req.py", line 70, in __init__     req = pkg_resources.requirement.parse(req)   file "/home/nyros/desktop/new/rmkenv/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2606, in parse     reqs = list(parse_requirements(s))   file "/home/nyros/desktop/new/rmkenv/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2544, in parse_requirements     line, p, specs = scan_list(version,line_end,line,p,(1,2),"version spec")   file "/home/nyros/desktop/new/rmkenv/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2512, in scan_list     raise valueerror("expected "+item_name+" in",line,"at",line[p:]) valueerror: ('expected version spec in', 'django_filebrowser-origin/head', 'at', '/head')  storing debug log failure in /home/nyros/.pip/pip.log 

i thinks problem git urls in requirements.txt . please check following requirements.txt , let me know modify install requirements.

-e hg+https://bitbucket.org/descent/django-aloha@844a88f99fba4fd3e29771fe85d6c611e66cd2e5#egg=django_aloha-dev  -e git+https://github.com/bouke/django-filebrowser-no-grappelli.git@a367570e795288281be303f7c2505803f7a48543#egg=django_filebrowser-origin/head    -e git+https://github.com/toastdriven/django-haystack.git@4d90d7d6c77ebf7ee298f2de941b1f41d99caf1d#egg=django_haystack-master    -e git+https://github.com/jowolf/django-ide.git@a2aa7a8ae41298c4635ba6c8c3b634a130c653d9#egg=django_ide-master  -e git+https://github.com/bread-and-pepper/django-userena.git@5beff3929f261694f9af03f940e500586e2a60d3#egg=django_userena-origin/head    -e git+https://github.com/pythonforfacebook/facebook-sdk@a12457671d3cb6265c52d9e8ef1ea2b387299fe3#egg=facebook_sdk-master 

the form importing specific commits github not require https, nor require /head @ end of imports. see following import development branch of django:

-e git://github.com/django/django.git@8568e7cfa4fb87cd0a9ead1b3fbb7a39d19e98b9#egg=django 

remove portions , see if settles problem.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -