Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install . throws error #6

Open
sonofmun opened this issue Jan 9, 2015 · 5 comments
Open

pip install . throws error #6

sonofmun opened this issue Jan 9, 2015 · 5 comments

Comments

@sonofmun
Copy link

sonofmun commented Jan 9, 2015

When I run pip install . using a clean virtualenv I get the following output

Processing /home/mmunson/Iris
Traceback (most recent call last):
File "", line 20, in
File "/tmp/pip-3IsCBq-build/setup.py", line 13, in
reqs = [str(ir.req) for ir in install_reqs]
File "/home/mmunson/envs/Iris/local/lib/python2.7/site-packages/pip/req/req_file.py", line 19, in parse_requirements
"parse_requirements() missing 1 required keyword argument: "
TypeError: parse_requirements() missing 1 required keyword argument: 'session'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

  File "<string>", line 20, in <module>

  File "/tmp/pip-3IsCBq-build/setup.py", line 13, in <module>

    reqs = [str(ir.req) for ir in install_reqs]

  File "/home/mmunson/envs/Iris/local/lib/python2.7/site-packages/pip/req/req_file.py", line 19, in parse_requirements

    "parse_requirements() missing 1 required keyword argument: "

TypeError: parse_requirements() missing 1 required keyword argument: 'session'

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-3IsCBq-build
@sonofmun
Copy link
Author

sonofmun commented Jan 9, 2015

I can get it to install the required packages using:

pip install -r requirements.txt

@sonofmun
Copy link
Author

sonofmun commented Jan 9, 2015

BTW, I was running this on the Homer server.

@sonofmun
Copy link
Author

sonofmun commented Jan 9, 2015

But I get this error when I try to run python setup.py download

Traceback (most recent call last):
    File "setup.py", line 13, in <module>
    reqs = [str(ir.req) for ir in install_reqs]
File "/home/mmunson/envs/Iris/local/lib/python2.7/site-packages/pip/req/req_file.py", line 19, in parse_requirements
"parse_requirements() missing 1 required keyword argument: "
TypeError: parse_requirements() missing 1 required keyword argument: 'session'

The error is the same as the problem with pip install .

@sonofmun
Copy link
Author

The problem is with pip 6.0.6., the newest release of pip. A line to install pip==1.5.4 is needed or the installation needs to be made compatible with the newest version of pip.

@mittagessen
Copy link
Contributor

It's fixed in my branch. Pip changed the syntax of the parse_requirements function to require a session identifier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants