According to PEP 668, installing packages using pip is not recommended anymore as it can break system packages, instead virtual environment is recommended.
Here are the steps using venv:
- install
venv and inside the cloned repo, make a virtual environment using python3 -m venv venv
- set the source with
source venv/bin/activate
- download the dependencies with
pip install -r requirements.txt
- finally run it using
sudo venv/bin/python3 -m src
also thank you for saving my keyboard :)
According to PEP 668, installing packages using
pipis not recommended anymore as it can break system packages, instead virtual environment is recommended.Here are the steps using
venv:venvand inside the cloned repo, make a virtual environment usingpython3 -m venv venvsource venv/bin/activatepip install -r requirements.txtsudo venv/bin/python3 -m srcalso thank you for saving my keyboard :)