-
-
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
Issue when running sync #2650
Comments
Ah this is likely just an issue with sync not creating virtualenvs. For docker workflows you have two options:
|
Hm ok, why doesn't sync create the virtualenv? It seems to do so when I run it locally |
That seems to be the relevant question! |
Apparently it can’t find a path to python, because of reasons that will undoubtedly be completely logical and clear (they won’t, this error is horrible and we have rewritten the logic governing python discovery and have a PR open to address it - #2582) |
Ah I see. In the meantime |
I’m closing this for now since #2582 is now merged. Please do reopen this if it is still happening to you after a new version is released. |
I just ran into this message and didn't know what to do at first. Turned out I was executing pipenv in the wrong path within a Docker image. Duh. Maybe it would be a good idea to a) modify the message to not be a warning but an error as it aborts the whole pipenv process b) reword the message to help "people like me"? |
I went through the diagnosing process and my issue was not listed.
Issue description
When running
pipenv sync
I get an exception before it starts installing anything, its very similar to the last exception mentioned here #1969I am attempting to create a docker container with this Dockerfile if that helps:
Expected result
I expected dependencies to be installed correctly like on my local ubuntu environment.
Actual result
See above
Steps to replicate
See above
$ pipenv --support
Pipenv version:
'2018.7.1'
Pipenv location:
'/usr/local/lib/python3.6/site-packages/pipenv'
Python location:
'/usr/local/bin/python'
Other Python installations in
PATH
:3.6
:/usr/local/bin/python3.6m
3.6
:/usr/local/bin/python3.6
3.6
:/usr/local/bin/python3.6
3.6.6
:/usr/local/bin/python
3.6.6
:/usr/local/bin/python
3.6.6
:/usr/local/bin/python3
3.6.6
:/usr/local/bin/python3
PEP 508 Information:
System environment variables:
HOSTNAME
SHLVL
PYTHON_PIP_VERSION
HOME
GPG_KEY
PATH
LANG
PYTHON_VERSION
PWD
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
:/app
Contents of
Pipfile
('/app/Pipfile'):Contents of
Pipfile.lock
('/app/Pipfile.lock'):The text was updated successfully, but these errors were encountered: