Skip to content
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

Install Error: error: externally-managed-environment #17

Open
h1f1x opened this issue May 19, 2024 · 0 comments · May be fixed by #18
Open

Install Error: error: externally-managed-environment #17

h1f1x opened this issue May 19, 2024 · 0 comments · May be fixed by #18

Comments

@h1f1x
Copy link

h1f1x commented May 19, 2024

When trying to install the plugin, I got the following error:

error: externally-managed-environment

× This environment is externally managed
╰─> 
    The system-wide python installation should be maintained using the system
    package manager (apk) only.
    
    If the package in question is not packaged already (and hence installable via
    "apk add py3-somepackage"), please consider installing it inside a virtual
    environment, e.g.:
    
    python3 -m venv /path/to/venv
    . /path/to/venv/bin/activate
    pip install mypackage
    
    To exit the virtual environment, run:
    
    deactivate
    
    The virtual environment is not deleted, and can be re-entered by re-sourcing
    the activate file.
    
    To automatically manage virtual environments, consider using pipx (from the
    pipx package).

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.

I am using: yellow-homeassistant:2024.5.4

Using aws-cli from the distribution would be the more maintainable move, in my opinion. It might not incorporate recent updates of the python package, but it's better reproducible and easy to install/update.
So, I tested it and created a pull request.

@h1f1x h1f1x linked a pull request May 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant