-
-
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
Pipenv import error in resolver.py #2460
Comments
I don't know much about |
Hm relative import doesn't work there, not too sure whats going on here but we do some path patching in the code so I'm not sure why it isn't working |
@techalchemy yeah, and I can't launch pdb for check what going on. I just check |
- Fixes #2460 Signed-off-by: Dan Ryan <[email protected]>
I'm trying to install tox plugin with pipenv in my project. I suppose that's was broken after this commit 50be8c3 and easiest way to fix that issue revert changes. Also, I have tried to revert that commit but pipenv start failed with another bug like
project.pipfile_sources
project does not have attribute pipfile_sources in the same file.$ python -m pipenv.help output
Pipenv version:
'2018.6.26.dev0'
Pipenv location:
'/Users/maxkrivich/Projects/pipenv/pipenv'
Python location:
'/usr/local/opt/python@2/bin/python2.7'
Other Python installations in
PATH
:2.7
:/usr/local/bin/python2.7
2.7
:/usr/local/bin/python2.7
2.7
:/usr/bin/python2.7
3.6
:/usr/local/bin/python3.6m
3.6
:/usr/local/bin/python3.6
3.7
:/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7m
3.7
:/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7
3.7
:/usr/local/bin/python3.7
3.7
:/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7
2.7.15
:/usr/local/bin/python
2.7.10
:/usr/bin/python
2.7.15
:/usr/local/bin/python2
3.7.0
:/Library/Frameworks/Python.framework/Versions/3.7/bin/python3
3.7.0
:/usr/local/bin/python3
3.7.0
:/Library/Frameworks/Python.framework/Versions/3.7/bin/python3
PEP 508 Information:
System environment variables:
GOPATH
LESS
GOROOT
LC_CTYPE
TERM_PROGRAM_VERSION
LOGNAME
USER
HOME
PATH
ZSH
TERM_PROGRAM
LANG
TERM
Apple_PubSub_Socket_Render
COLORFGBG
SHLVL
XPC_FLAGS
ITERM_SESSION_ID
_
TERM_SESSION_ID
XPC_SERVICE_NAME
SSH_AUTH_SOCK
TMUX
SHELL
PYTHONDONTWRITEBYTECODE
ITERM_PROFILE
PIP_PYTHON_PATH
TMPDIR
LSCOLORS
OLDPWD
__CF_USER_TEXT_ENCODING
PWD
COLORTERM
PAGER
TMUX_PANE
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/opt/go/libexec/bin:/Users/maxkrivich/go/bin
SHELL
:/bin/zsh
LANG
:en_US.UTF-8
PWD
:/Users/maxkrivich/Projects/test
Contents of
Pipfile
('/Users/maxkrivich/Projects/test/Pipfile'):Contents of
Pipfile.lock
('/Users/maxkrivich/Projects/test/Pipfile.lock'):Expected result
Module successfuly installed in virtual environment.
Actual result
Steps to replicate
The text was updated successfully, but these errors were encountered: