-
-
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
Attribute Error in environment.py #5950
Labels
Comments
I am also experiencing this problem. Work Around I foundI have worked around this by using an earlier version of pipenv
My steps to replicate:Pipfile
Dockerfile
Then run: Error Stack:
|
Could this be checked against the main branch? I am not experiencing the issue. It may just be that we need to cut a new release ... |
PR got merged. #5951 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
On specific python installations for specific packages, installation fails. The especially occured when installing prefect from Pipfile when using the Docker image
prefecthq/prefect:2.13-python3.11
. However this was also the case for other 3.11 installations.Expected result
Installing normally.
Actual result
Steps to replicate
Run
pipenv lock
andpipenv install --system
in dev containerprefecthq/prefect:2.13-python3.11
, but issue also persists when using imagemcr.microsoft.com/devcontainers/python:1-3.11-bullseye
or locallyPipfile
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
$ pipenv --support
Pipenv version:
'2023.9.8'
Pipenv location:
'/usr/local/lib/python3.11/site-packages/pipenv'
Python location:
'/usr/local/bin/python'
OS Name:
'posix'
User pip version:
'23.2.1'
user Python installations found:
PEP 508 Information:
System environment variables:
SHELL
COLORTERM
TERM_PROGRAM_VERSION
HOSTNAME
PYTHON_VERSION
SSH_AUTH_SOCK
REMOTE_CONTAINERS_IPC
PWD
PYTHON_SETUPTOOLS_VERSION
VSCODE_GIT_ASKPASS_NODE
HOME
LANG
REMOTE_CONTAINERS
WAYLAND_DISPLAY
GPG_KEY
GIT_ASKPASS
VSCODE_GIT_ASKPASS_EXTRA_ARGS
TERM
REMOTE_CONTAINERS_SOCKETS
VSCODE_GIT_IPC_HANDLE
DISPLAY
SHLVL
PYTHON_PIP_VERSION
XDG_RUNTIME_DIR
PYTHON_GET_PIP_SHA256
LC_ALL
VSCODE_GIT_ASKPASS_MAIN
PYTHON_GET_PIP_URL
BROWSER
PATH
REMOTE_CONTAINERS_DISPLAY_SOCK
TERM_PROGRAM
VSCODE_IPC_HOOK_CLI
_
OLDPWD
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/vscode/vscode-server/bin/linux-x64/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/bin/remote-cli:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SHELL
:/bin/bash
LANG
:C.UTF-8
PWD
:/workspaces/prefect/prefect
Contents of
Pipfile
('/workspaces/prefect/prefect/Pipfile'):The text was updated successfully, but these errors were encountered: