You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to install on OpenBSD 7.5 with pip install shell-gpt I'm getting the error below, any help or orientation will be appreciated.
error: externally-managed-environment
× This environment is externally managed
╰─> This Python installation is managed by pkg_add(1).
To install Python packages system-wide, use the OS packages where
possible, for example: "pkg_add py3-somepackage".
Otherwise, for software which is not available in packages,
it is recommended to create a "venv" (virtual environment, see
https://docs.python.org/3/library/venv.html) and install it there.
For standalone applications, pipx (in the py3-pipx package) can
help manage this for you.
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.
The text was updated successfully, but these errors were encountered:
Thank you for the link, great info and it helped a lot. It's installing correctly now, I just followed the instructions to create and activate the virtual environment, as the error message indicates as one of the options to fix it. I didn't try the other options since the virtual environment fixed it. OpenBSD users must replace the "source" command by a period (.) when activating the virtual environment, so "source .venv/bin/activate" will be actually ". .venv/bin/activate".
Hello,
Trying to install on OpenBSD 7.5 with pip install shell-gpt I'm getting the error below, any help or orientation will be appreciated.
The text was updated successfully, but these errors were encountered: