PDA

View Full Version : Rollback till "error: externally-managed-environment" was not present in Kali



carouselcarousel
2023-03-29, 17:30
I'm getting so fed up with this new "feature/bug" on Kali when I try to install PIP things I simply need to get a moon to the person to make it work, and create virtual environment and all that things what is useless.
So is there anyone who know what was the latest build of Kali where this "error: externally-managed-environment" was not implemented on pip packages installation? I will simply roll back all my machines to that version.

"error: externally-managed-environment
? This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.
"


Thank you in advance.

KellieAguilar
2023-04-09, 15:12
Ultimately, restoring your machine to an earlier version of Kali Linux may not be the best solution as it can cause security vulnerabilities and other compatibility issues. Instead, it's better to fix the problem

carouselcarousel
2023-04-12, 10:27
Ultimately, restoring your machine to an earlier version of Kali Linux may not be the best solution as it can cause security vulnerabilities and other compatibility issues. Instead, it's better to fix the problem

it's a VM just to do some local stuff. So 0 cares about vulnerabilities. Even starts without a PW and as a root, and nothing important stored on it. This is why my question was which version I need to roll back to not get this environments problem.