python - How to change dependency from name to github link? -
i have problem installing things through pip. have requirements.txt
file position github like:
git+ssh://git@github.com/packages/my-package.git@master#egg=my-package-0.1.1
i run command pip install -r requirements.txt
. repository cloning there dependency should cloned through github link, internal search trying in name , reply that:
could not find version satisfies requirement...
no matching distribution found needed-package <2.0.0,>=1.1.0
possible replace name of package github link? in requirements.txt have 1 link: main repository.
example requirements on real project:
git+ssh://git@github.com/preppyllc-opensource/django-allauth.git#egg=django-allauth
Comments
Post a Comment