-
-
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
Error - "ModuleNotFoundError: No module named 'pkg_resources'" #5349
Comments
@lukebakken I have made a branch that modernizes some of the patching going on and utilizes the internal EDIT: Actually I pushed a couple more commits that broke some things, and so let me spend some more time on this. |
Also will depend on sarugaku/requirementslib#343 |
No rush! I'll keep an eye out here! |
If you want to try it @lukebakken -- I believe I got it working today with: #5350 |
@matteius yessir, PR #5350 fixes the issue! Output from my linux env:
THANK YOU |
I'm happy to do additional testing, so just let me know what you'd like. I also have a Windows 10 pro environment I use for RabbitMQ development, which includes Python dev as well. |
|
Issue description
Running
pipenv
commands such aspipenv update
results inExpected result
No
ModuleNotFoundError
Actual result
See above stacktrace.
Steps to replicate
This is on an Arch Linux system updated as of 2022-09-09. I'm using
asdf
to install the latest Python so I can be sure this isn't due to the Python packages that ship with Arch Linux (where I see the same issue)$ pipenv --support
Pipenv version:
'2022.9.8'
Pipenv location:
'/home/lbakken/.asdf/installs/python/3.10.7/lib/python3.10/site-packages/pipenv'
Python location:
'/home/lbakken/.asdf/installs/python/3.10.7/bin/python3.10'
OS Name:
'posix'
User pip version:
'22.2.2'
user Python installations found:
3.10.7
:/home/lbakken/.asdf/installs/python/3.10.7/bin/python3
3.10.7
:/home/lbakken/.asdf/installs/python/3.10.7/bin/python
3.10.7
:/home/lbakken/.asdf/installs/python/3.10.7/bin/python3
3.10.6
:/usr/bin/python3
3.10.6
:/usr/bin/python
PEP 508 Information:
System environment variables:
PATH
SHELL
HISTCONTROL
HISTSIZE
GIT_PS1_SHOWUPSTREAM
DOTNET_ROOT
SSH_AUTH_SOCK
GIT_PS1_SHOWDIRTYSTATE
SSH_AGENT_PID
GPG_TTY
CLOUDSDK_PYTHON_ARGS
EDITOR
PWD
LOGNAME
XDG_SESSION_TYPE
MOTD_SHOWN
HOME
LANG
HISTFILE
CLOUDSDK_ROOT_DIR
ERL_AFLAGS
SSH_CONNECTION
DOCKER_BUILDKIT
DOTNET_BUNDLE_EXTRACT_BASE_DIR
CLOUDSDK_PYTHON
GIT_PS1_SHOWSTASHSTATE
XDG_SESSION_CLASS
TERM
ASDF_DIR
GOOGLE_CLOUD_SDK_HOME
USER
SHLVL
XDG_SESSION_ID
XDG_RUNTIME_DIR
SSH_CLIENT
HISTFILESIZE
DBUS_SESSION_BUS_ADDRESS
MAIL
SSH_TTY
GIT_PS1_SHOWUNTRACKEDFILES
OLDPWD
GOPATH
PIP_DISABLE_PIP_VERSION_CHECK
PIP_PYTHON_PATH
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/lbakken/.asdf/plugins/python/shims:/home/lbakken/.asdf/installs/python/3.10.7/bin:/home/lbakken/bin:/home/lbakken/.asdf/shims:/home/lbakken/.asdf/bin:/opt/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/lbakken/.dotnet/tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/lbakken/go/bin
SHELL
:/bin/bash
EDITOR
:vim
LANG
:en_US.UTF-8
PWD
:/home/lbakken/development/rabbitmq/rabbitmq-website
Contents of
Pipfile
('/home/lbakken/development/rabbitmq/rabbitmq-website/Pipfile'):Contents of
Pipfile.lock
('/home/lbakken/development/rabbitmq/rabbitmq-website/Pipfile.lock'):The text was updated successfully, but these errors were encountered: