meng_die
meng_die

Reputation: 85

Heroku deployment ValueError when installing dependencies with Pip

I am trying to deploy a Django 1.7 project to a new app in Heroku but I get the following ValueError on the Django requirement.

ValueError: ("Expected ',' or end-of-list in", 'Django==git+git://github.com/django/[email protected]', 'at', '+git://github.com/django/[email protected]')

My requirements.txt snippet is:

Django==git+git://github.com/django/[email protected]

Upvotes: 0

Views: 160

Answers (1)

Daniel Roseman
Daniel Roseman

Reputation: 599926

That's not the correct format for a git URL in a pip requirements file.

You should use this:

git+git://github.com/django/[email protected]#egg=Django

See the pip documentation.

Upvotes: 2

Related Questions