Unable to install requirements
spikeyhair opened this issue · comments
I believe the "Using pip" and "Using git" sections is for us to choose either 1, right?
So I chose "Using git" and follow the instructions. I ran step 1 and 2 successfully and skipped step 3 since it is optional.
I am now stuck at step 4 (Install required libraries: pip3 install -r requirements.txt). After I ran it, this is the error I am getting:
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 non-brew-packaged Python package,
create a virtual environment using python3 -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-brew packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
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.
What should I do or how do resolve this?
Using git is for contributors, using pip is more user friendly.. I suggest you to use it instead of git
Thanks for the advice. It works now.