tox-dev / pipdeptree

A command line utility to display dependency tree of the installed Python packages

Home Page:https://pypi.python.org/pypi/pipdeptree

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New release 2.9.1 fails to find python in a virtual environment

pbybee opened this issue · comments

Since 2.9.1, this error occurs. This does not occur in 2.9.0

File ".venv/lib/python3.10/site-packages/pipdeptree/__init__.py", line 1022, in handle_non_host_target
    return subprocess.call(cmd, cwd=project, env=env)  # noqa: S603
  File "/usr/local/lib/python3.10/subprocess.py", line 345, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/local/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.10/subprocess.py", line 1847, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '.pip_lvcheck/venv/bin/python'