Missing distribution spec error using pip install from requirements

Viewed 13008

I have just created a fresh virtualenv into which I want to run my pip install. However, I'm getting this error:

raise ValueError("Missing distribution spec", line)
ValueError: ('Missing distribution spec', '/path/to/dir/requirements.txt')

My requirements.txt:

Django==1.3
Jinja2==2.6
MySQL-python==1.2.3
PIL==1.1.7
Pygments==1.5
Sphinx==1.1.3
Werkzeug==0.8.3
django-debug-toolbar==0.9.4
django-excel-response==1.0
django-extensions==0.8
docutils==0.9.1
ipython==0.12
wsgiref==0.1.2

What is going wrong?

4 Answers

if you are pushing to Azure, even with utf-8 you might also run into this problem:

ValueError: ('Missing distribution spec', '\xef\xbb\xbfDjango==1.11.4')

the safe way is to save as requirements.txt as ansi file.

well, given you are running on windows

Related