Skip to content
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

[BUG] setuptools 60.3.0 breaks pip on Ubuntu 20.04.3 #3003

Closed
1 task done
Patol75 opened this issue Jan 6, 2022 · 2 comments
Closed
1 task done

[BUG] setuptools 60.3.0 breaks pip on Ubuntu 20.04.3 #3003

Patol75 opened this issue Jan 6, 2022 · 2 comments
Labels
bug Needs Triage Issues that need to be evaluated for severity and status.

Comments

@Patol75
Copy link

Patol75 commented Jan 6, 2022

setuptools version

setuptools==60.3.0

Python version

Python 3.9

OS

Ubuntu 20.04.3 LTS

Additional environment information

No response

Description

Updating setuptools from 60.2.0 to 60.3.0 yields the following error message after executing any python3.9 -m pip command:
/usr/bin/python3.9: Error while finding module specification for 'pip' (AttributeError: module '__main__' has no attribute '__file__')

Expected behavior

Updating setuptools should not break pip.

How to Reproduce

Simply update setuptools to the last release and attempt to use pip.

Output

python3.9 -m pip install --user --upgrade setuptools
/usr/bin/python3.9: Error while finding module specification for 'pip' (AttributeError: module '__main__' has no attribute '__file__')

Code of Conduct

  • I agree to follow the PSF Code of Conduct
@matthewfeickert
Copy link
Contributor

👋 This is a duplicate of Issue #3002, so please follow along there for new information and consider closing this Issue to avoid confusion. 👍

@Patol75
Copy link
Author

Patol75 commented Jan 6, 2022

Unfortunate timing on my side it seems, #3002 was not opened when I started writing this issue. Anyway, good to know I am not the only one and developers are aware of the issue. :)

@Patol75 Patol75 closed this as completed Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Needs Triage Issues that need to be evaluated for severity and status.
Projects
None yet
Development

No branches or pull requests

2 participants