You are not logged in.
Hello!
I want to install pyautogui from PyPI with pipx, but it couldn't find the package. Also, I checked with pip -just out of curiosity- to see if it is findable, and it gives the expected warning message.
pipx install --verbose pyautogui
pipx >(setup:860): pipx version is 1.4.3
pipx >(setup:861): Default python interpreter is '/usr/bin/python'
pipx >(package_name_from_spec:370): Determined package name: pyautogui
pipx >(package_name_from_spec:371): Package name determined in 0.0s
creating virtual environment...
pipx >(run_subprocess:168): running /usr/bin/python -m venv --without-pip /home/marvix/.local/pipx/venvs/pyautogui
pipx >(run_subprocess:168): running <checking pip's availability>
pipx >(run_subprocess:168): running /home/marvix/.local/pipx/venvs/pyautogui/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
pipx >(run_subprocess:168): running /home/marvix/.local/pipx/shared/bin/python -c import sysconfig; print(sysconfig.get_path('purelib'))
pipx >(run_subprocess:168): running /home/marvix/.local/pipx/venvs/pyautogui/bin/python --version
pipx >(_parsed_package_to_package_or_url:137): cleaned package spec: pyautogui
installing pyautogui...
pipx >(run_subprocess:168): running /home/marvix/.local/pipx/venvs/pyautogui/bin/python -m pip --no-input install pyautogui
pipx >(run_subprocess:168): running <fetch_info_in_venv commands>
pipx >(get_venv_metadata_for_package:339): get_venv_metadata_for_package: 367ms
pipx >(_parsed_package_to_package_or_url:137): cleaned package spec: pyautogui
pipx >(rmdir:55): removing directory /home/marvix/.local/pipx/venvs/pyautoguipip install --verbose pyautogui
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.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.What do I do now? How can I remedy that?
Offline
Have you tried simply the AUR package?
https://aur.archlinux.org/packages/python-pyautogui
I would thnk installing the AUR package would be better as pacman will track it and its dependencies.
Also it seems the git version is more up to date:
https://aur.archlinux.org/packages/python-pyautogui-git
Offline
Even I know the AUR package, no, I didn't try installing it. I prefer to work through pipx and get acquainted with it. In fact I prefer to avoid the AUR, unless it is the only last solution.
Offline
https://pypi.org/simple/pyautogui/
https://pypi.org/simple/pyautogui-cli/
https://pypi.org/simple/pyautogui-simplified-edition/
It's python. Put the tree in a directory and run it.
https://github.com/asweigart/pyautogui/ … /pyautogui
Offline