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
Windows 10 (CYGWIN_NT-10.0-19044 FOUREYES 3.3.3-341.x86_64)
Additional environment information
No response
Description
I upgraded from setuptools 60.2.0 to setuptools 60.3.0 and I get this error with running pip-review --verbose --interactive:
pip-review --verbose --interactive
/usr/bin/python3.8.exe: Error while finding module specification for 'pip' (AttributeError: module '__main__' has no attribute '__file__')
Traceback (most recent call last):
File "/usr/local/bin/pip-review", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/site-packages/pip_review/__main__.py", line 223, in main
outdated = get_outdated_packages(list_args)
File "/usr/local/lib/python3.8/site-packages/pip_review/__main__.py", line 205, in get_outdated_packages
output = check_output(command).decode('utf-8')
File "/usr/local/lib/python3.8/site-packages/pip_review/__main__.py", line 21, in check_output
raise error
subprocess.CalledProcessError: Command '['/usr/bin/python3.8.exe', '-m', 'pip', 'list', '--outdated', '--disable-pip-version-check', '--format=json']' returned non-zero exit status 1.
So I removed the pip-review command from the puzzle, just running the command it's running:
$ /usr/bin/python3.8.exe -m pip list --outdated --disable-pip-version-check
/usr/bin/python3.8.exe: Error while finding module specification for 'pip' (AttributeError: module '__main__' has no attribute '__file__')
setuptools version
60.3.0
Python version
Python 3.8.12
OS
Windows 10 (CYGWIN_NT-10.0-19044 FOUREYES 3.3.3-341.x86_64)
Additional environment information
No response
Description
I upgraded from setuptools 60.2.0 to setuptools 60.3.0 and I get this error with running
pip-review --verbose --interactive
:So I removed the
pip-review
command from the puzzle, just running the command it's running:Interestingly, this works:
I went back to setuptools 60.2.0:
and
pip-review
works as expected:Same for the
pip
module run:Expected behavior
To be able to run
pip-review
andpip
module:How to Reproduce
pip-review
pip
moduleOutput
I use cygport packing (Cygwin's packaging system) to update setuptools:
Code of Conduct
The text was updated successfully, but these errors were encountered: