You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pip freeze crashes if PATH environment variable references an existing file.
Expected behavior
pip freeze should work, even if PATH has an incorrect reference to a file.
pip version
24.0
Python version
3.11.8
OS
macos
How to Reproduce
Run:
PATH=$PATH:/bin/ls .venv/bin/pip freeze
Output
... stack trace
File ".../subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
NotADirectoryError: [Errno 20] Not a directory: 'hg'
Description
pip freeze
crashes if PATH environment variable references an existing file.Expected behavior
pip freeze
should work, even if PATH has an incorrect reference to a file.pip version
24.0
Python version
3.11.8
OS
macos
How to Reproduce
Run:
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: