-
-
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 install error: "AttributeError: 'NoneType' object has no attribute 'url'" #4582
Comments
I had this same issue, and the only commonality between the posted Pipfile & mine (apart from the source section) was edit to add: I got around this by reverting the pipenv version, as in this comment on another issue |
Had the same issue with a new project while trying
Pipfile
Pipfile.lock
|
I had the same issue until I removed the line |
Just want to mention the same issue happens with a freshly created blank pipenv that has no lock file yet. Created the environment just fine, then as soon as I add Django to the packages and run |
I had similar problem and it was fixed by reverting to an old Pipenv
|
Removing |
I was getting this error, but discovered I was running |
Issue description
I tried using the command
pipenv install
with a Pipfile and Pipfile.lock in my current directory. While during the "Build Requirements" stage of the process, this error was thrown:AttributeError: 'NoneType' object has no attribute 'url'
Expected result
pipenv should have created a new environment from my pipfile, with python3.8.
Actual result
Build failed.
pipenv --support details:
ipenv version:
'2020.11.15'
Pipenv location:
'/home/joe/.local/lib/python3.9/site-packages/pipenv'
Python location:
'/usr/bin/python3.9'
Python installations found:
3.9.0
:/usr/bin/python3.9
3.9.0
:/bin/python3.9
3.8.6
:/usr/bin/python3.8
3.8.6
:/usr/bin/python3
3.8.6
:/bin/python3.8
3.8.6
:/bin/python3
PEP 508 Information:
System environment variables:
ALACRITTY_LOG
BROWSER
COLORTERM
DBUS_SESSION_BUS_ADDRESS
DESKTOP_SESSION
DISPLAY
DOTFILES
EDITOR
GDMSESSION
GIO_LAUNCHED_DESKTOP_FILE_PID
GNOME_DESKTOP_SESSION_ID
GNOME_SHELL_SESSION_MODE
GPG_AGENT_INFO
GTK_IM_MODULE
GTK_MODULES
HOME
INVOCATION_ID
JOURNAL_STREAM
LANG
LANGUAGE
LC_ADDRESS
LC_IDENTIFICATION
LC_MEASUREMENT
LC_MONETARY
LC_NAME
LC_NUMERIC
LC_PAPER
LC_TELEPHONE
LC_TIME
LIBVIRT_DEFAULT_URI
LOGNAME
LS_COLORS
MANAGERPID
PAPERSIZE
PATH
PWD
QT_ACCESSIBILITY
QT_IM_MODULE
SESSION_MANAGER
SHELL
SHLVL
SSH_AGENT_LAUNCHER
SSH_AUTH_SOCK
STARSHIP_SHELL
TERM
USER
USERNAME
WINDOWID
WINDOWPATH
XAUTHORITY
XDG_CACHE_HOME
XDG_CONFIG_DIRS
XDG_CONFIG_HOME
XDG_CURRENT_DESKTOP
XDG_DATA_DIRS
XDG_DATA_HOME
XDG_MENU_PREFIX
XDG_RUNTIME_DIR
XDG_SESSION_CLASS
XDG_SESSION_DESKTOP
XDG_SESSION_TYPE
XMODIFIERS
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/joe/.cargo/bin:/home/joe/.local/bin:/home/joe/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/joe/.dotnet/tools:/usr/local/go/bin
SHELL
:/usr/bin/fish
EDITOR
:nvim
LANG
:en_US.UTF-8
PWD
:/home/joe/Source/python/Oauth-Checker
Contents of
Pipfile
('/home/joe/Source/python/Oauth-Checker/Pipfile'):Contents of
Pipfile.lock
('/home/joe/Source/python/Oauth-Checker/Pipfile.lock'):The text was updated successfully, but these errors were encountered: