| 1 |
[externally-managed] |
| 2 |
Error=To install Python packages system-wide, try apt install |
| 3 |
python3-xyz, where xyz is the package you are trying to |
| 4 |
install. |
| 5 |
|
| 6 |
If you wish to install a non-Debian-packaged Python package, |
| 7 |
create a virtual environment using python3 -m venv path/to/venv. |
| 8 |
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make |
| 9 |
sure you have pypy3-venv installed. |
| 10 |
|
| 11 |
If you wish to install a non-Debian packaged Python application, |
| 12 |
it may be easiest to use pipx install xyz, which will manage a |
| 13 |
virtual environment for you. Make sure you have pipx installed. |
| 14 |
|
| 15 |
See /usr/share/doc/python3.*/README.venv for more information. |