There are two solutions, but before solving this, you should know that Debian 12 recommends using a virtual environment (venv) when using Python. It is presumed that it was blocked on purpose, but the solution is actually very simple.
1st way. Use virtual environment
cd [Path where you want to install venv]
python3 -m venv venv
source /venv/bin/activate
or
python3 -m venv [path you want]
source /[path you wanted]/bin/activate
2nd way. Ignore
sudo rm -rf /usr/lib/python3.11/EXTERNALLY-MANAGED
반응형
'Raspberry Pi 5' 카테고리의 다른 글
How to resolve Double SIGSEGV error on Raspberry Pi 5 and LocalAdmin (0) | 2024.01.10 |
---|---|
Install SteamCMD on Raspberry Pi 5 (feat. SCP:SL server running) (0) | 2024.01.08 |