-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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
error: externally-managed-environment #102134
Comments
This looks like Debian patched something (either pip or CPython itself) to nudge you towards using virtual environments. If that doesn't work for you, please report it to Debian. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
What is this?As the message you're getting explains, this is actually not an issue with Python itself, but rather your Linux distribution (Kali, Debian, etc.) implementing a deliberate policy to ensure you don't break your operating system and system packages by using This has been a long-standing recommendation from both the Python team and Linux distros, due to the severe problems that frequently occur for people as a result of using What should I do about it?Like the error message says, you have a few options:
Here be dragons...read this part at your own risk!If you're really, really, really sure you want to use Where can I get more information?The message you get should explain where you can find more information specific to your distro, and for those curious PEP 668: Marking Python environments as externally managed has the full technical details. I'm still confused! Help!The best people to talk to about this will be the folks with your particular Linux distribution, so please reach out to them with further questions. Best of luck! What about the other workarounds proposed in this thread? Why is it closed?We appreciate folks trying to help other users! However, since this is getting a lot of traffic (it's the top hit on Google) we wanted to make sure that you can all find the accurate answers to your questions, and since there isn't anything we can do on CPython's end (since this is controlled by your Linux distro), we've closed/locked the issue with this as the final comment, and collapsed duplicate and resolved comments by default to make it easier for viewers to find the canonical answer, and avoid other out of date, incomplete, confusing and potentially system-breaking workarounds. Thanks for your understanding, and hope this is helpful! |
Crash & Error
Your environment
It was working until today its howing this error. sell & setuptools are installed.
I am just trying to install or update python module & for every module, its showing this error.
The text was updated successfully, but these errors were encountered: