-
Notifications
You must be signed in to change notification settings - Fork 429
pipx fails to install #391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Oh I forgot to add, for anyone who hits this error: |
why use |
To me, using $ pip install grip
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. Maybe you get something similar in other distros. |
@iconoclasthero Did you manage to overcome this problem, or just move on to other things? Perhaps some fiddling with @joeyespo I'm unable to reproduce this with an up-to-date Rhino Linux 2025.2, Python 3.13.2 and pipx 1.7.1 installed from the default distro package repositories, and Grip 4.6.2 installed with pipx. Perhaps this issue could be closed if the reporter doesn't respond back in a timely manner. |
I did move to go-grip, because:
|
@Disonantemus Thanks for following up, glad to hear you found a workaround. Also, sometimes software is just "done." ;) Acknowledged, grip has some problems currently. It's also true that it's harder to keep a Python program—especially one with multiple third-party dependencies—running forever, because there will be language updates, library deprecations, and API breakages. Not like a static binary that literally will run forever, until we can't run 64-bit Intel code anymore. There are, of course, tradeoffs, like the Go binary for I merely want to reinforce the notion that a project without updates in the last two years is not necessary "dead" or non-functional, or unloved by its maintainer. It could just be done! |
I passed it to NGINX and was able to access it so it is working now.
BINGO! (Good to know this happens with Arch too—i.e., it's not just an Ubuntu/Debian thing...) I believe I also opened a FR with the |
The whole pipx thing is kind of predicated on an understanding of Python's virtualenvs (specifically the fact that you can @iconoclasthero It sounds like you worked this out, yes? Would it be OK then to close the issue, or is there still something specific that the maintainer (or another volunteer) could do in terms of documentation? |
Python 3.12.5
pipx 1.6.0
pip 24.1.1 from /usr/lib/python3/dist-packages/pip (python 3.12)
Rhino Linux rolling release based on
OS: Rhino Linux 2024.2~RC (server) x86_64
Kernel: Linux 6.10.4-061004-generic
Shell: bash 5.2.21
The text was updated successfully, but these errors were encountered: