Hi,
for my Python Projects I need the (custom)tkinter modules, which are available through pip.
But after I installed python-pip-git from AUR, there always comes following error:
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
python-xyz', where xyz is the package you are trying to
install.
If you wish to install a non-Arch-packaged Python package,
create a virtual environment using 'python -m venv path/to/venv'.
Then use path/to/venv/bin/python and path/to/venv/bin/pip.
If you wish to install a non-Arch packaged Python application,
it may be easiest to use 'pipx install xyz', which will manage a
virtual environment for you. Make sure you have python-pipx
installed via pacman.
Even after doing the provided tips in the error message, like doing sudo pacman -S python-tk or the pipx thing, it’s the same error or nothing could be found. I also searched up for other solutions like on Stack Overflow, but there’s only ubuntu-specific help.
Currently, Python version Python 3.11.3
is installed.