Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4919

Beginners • Remove duplicate packages installed by mistake

$
0
0
Greetings;

I did a remote install of a pydevd_pycharm version X package via my PyCharm IDE (venv). when that didn't work, I installed it again using

Code:

sudo pip3 install pydevd_pycharm~=VersionY --break-system-packages
.
When I look for these in PyCharm, both versions show up.
They seem to have installed here:

Code:

./.pycharm_helpers/pydev/pydevd_pycharm.py./.virtualenvs/Pool/lib/python3.11/site-packages/__pycache__/pydevd_pycharm.cpython-311.pyc./.virtualenvs/Pool/lib/python3.11/site-packages/pydevd_pycharm.py./.local/lib/python3.11/site-packages/__pycache__/pydevd_pycharm.cpython-311.pyc./.local/lib/python3.11/site-packages/pydevd_pycharm.py
I tried to use 'delete packages' in PyCharm, but it gives me the usual 'this environment is externally managed'

I tried

Code:

sudo pip3 uninstall...
. It gives me the same 'this environment...'

and

Code:

sudo apt uninstall python3-...
doesn't work at all.

How do I get rid of these packages, please?

Statistics: Posted by TriLife — Fri Jun 07, 2024 10:28 pm



Viewing all articles
Browse latest Browse all 4919

Trending Articles