Skip to content

No module named 'pipenv.vendor.pipdeptree._detect_env' #6305

@bertek41

Description

@bertek41

Issue description

Latest release has an error:

Successfully created virtual environment!
Virtualenv location: /github/home/.local/share/virtualenvs/workspace-0SCQBxY3
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Installing dependencies from Pipfile.lock (8d[26](https://github.com/*****#step:6:27)6f)...
All dependencies are now up-to-date!
Error running command: $ 
/github/home/.local/share/virtualenvs/workspace-0SCQBxY3/bin/python 
/usr/local/lib/python3.11/site-packages/pipenv/vendor/pipdeptree -l --reverse 
--json-tree
STDERR: Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File 
"/usr/local/lib/python3.11/site-packages/pipenv/vendor/pipdeptree/__main__.py", 
line 16, in <module>
    from pipenv.vendor.pipdeptree._detect_env import detect_active_interpreter
ModuleNotFoundError: No module named 'pipenv.vendor.pipdeptree._detect_env'

Steps to replicate

Latest release "pipenv-2024.3.1" has this bug. I don't have this bug in "pipenv-2024.3.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions