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

pipenv install raises error #1603

Closed
EricSchles opened this issue Mar 8, 2018 · 2 comments
Closed

pipenv install raises error #1603

EricSchles opened this issue Mar 8, 2018 · 2 comments

Comments

@EricSchles
Copy link

EricSchles commented Mar 8, 2018

Be sure to check the existing issues, both open and closed.

Describe the issue briefly here.

When I attempt to run pipenv install -r requirements.txt I get an error.

Describe your environment
  1. OS Type: Max OSX
  2. Python version: $ python -V: Python 3.6.4
  3. Pipenv version: $ pipenv --version: pipenv, version 11.1.4
Expected result

Describe what you expected.

I expected to be able to install my packages.

Actual result

When possible, provide the verbose output (--verbose), especially for locking and dependencies resolving issues.

When I attempt to run pipenv install -r requirements.txt I get the following error:

Erics-MBP:server erics$ pipenv install -r requirements.txt
Requirements file provided! Importing into Pipfile…
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
ibrary/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pipenv/patched/pip/index.py", line 31, in <module>
    from pip.wheel import Wheel, wheel_ext
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pipenv/patched/pip/wheel.py", line 6, in <module>
    import compileall
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/compileall.py", line 20, in <module>
    from concurrent.futures import ProcessPoolExecutor
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pipenv/../concurrent/futures/__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pipenv/../concurrent/futures/_base.py", line 381
    raise exception_type, self._exception, self._traceback
                        ^
SyntaxError: invalid syntax
Steps to replicate

Provide the steps to replicate (which usually at least includes the commands and the Pipfile).

pipenv --three
pipenv install requests

I also tried:

pipenv install pandas

https://github.com/EricSchles/testing_pipenv is a test repo I created, just in case that's helpful.

@techalchemy
Copy link
Member

@EricSchles we just cut a release which should resolve this issue, should be fixed by c7c0613 which is now released

@EricSchles
Copy link
Author

@techalchemy Thanks! I'll check it out.

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