shell_gpt icon indicating copy to clipboard operation
shell_gpt copied to clipboard

error: externally-managed-environment

Open habreu71 opened this issue 7 months ago • 3 comments

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.

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.

habreu71 avatar Jul 15 '24 15:07 habreu71