I'm using Linux/Manjaro KDE.
Since I was not familiar with Venv I installed more than 50 packages in my global and not everything is conflicted. In order to clean up all pip packages I tried this command:
pip freeze | xargs pip uninstall
and even this one:
python -m pip freeze > requirements.txt
python -m pip uninstall -r requirements.txt
In both cases I get this error:
ERROR: Cannot uninstall 'apparmor'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
and then the progress will be interrupted. Any solution?
I could remove everything like this: To get room permissions:
sudo su
and then removed anything on this location:
/usr/local/lib/python3.9/site-packages/