-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
pip9/baseparser.py line 149 in __init__ assert self.name AssertionError #2210
Comments
This happens when you try use pipenv to create a virtualenv from the root directory. This is not an intended usage and is an edge case. We have plans to improve the messsaging here |
+1 to fixing this. Very cryptic indeed. |
Have there been any updates for this problem? |
We don't vendor pip 9 and we have improved error messaging so I would have to suggest upgrading pipenv if you encounter this and filing a new issue if it persists |
Still encounterning cryptic errors with version 2018-11-26. What version was this fixed in? |
$ python -m pipenv.help output
Pipenv version:
'2018.05.18'
Pipenv location:
'/usr/local/lib/python3.6/site-packages/pipenv'
Python location:
'/usr/local/bin/python'
Other Python installations in
PATH
:2.7
:/usr/bin/python2.7
2.7
:/usr/bin/python2.7
3.6
:/usr/local/bin/python3.6m
3.6
:/usr/local/bin/python3.6
3.6
:/usr/local/bin/python3.6
3.6.5
:/usr/local/bin/python
3.6.5
:/usr/local/bin/python
2.7.9
:/usr/bin/python
2.7.9
:/usr/bin/python2
3.6.5
:/usr/local/bin/python3
3.6.5
:/usr/local/bin/python3
PEP 508 Information:
System environment variables:
HOSTNAME
GPG_KEY
TERM
PYTHON_VERSION
PATH
PWD
LANG
PYTHON_PIP_VERSION
SHLVL
HOME
_
OLDPWD
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG
:C.UTF-8
PWD
:/
Contents of
Pipfile
('/Pipfile'):Problem
pipenv install requests
failsExpected result
requests
is installedOR
a clear error message is shown
Actual result
When possible, provide the verbose output (
--verbose
), especially for locking and dependencies resolving issues.Steps to replicate
Using
python:3.6.5
official Docker imageThe text was updated successfully, but these errors were encountered: