Skip to content

How to deal with requirements.txt on macos #12

@zikajk

Description

@zikajk

MacOS doesn't like system-wide packages:

➜  emigo git:(main) ✗ pip3 install -r requirements.txt
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try brew install
    xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a Python library that isn't in Homebrew,
    use a virtual environment:

Is there some recommended way how to deal with this other than pip install package_name --break-system-packages
?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions