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

PEP 668 prevents system pip install #6

Open
Blurpex opened this issue Dec 22, 2023 · 1 comment
Open

PEP 668 prevents system pip install #6

Blurpex opened this issue Dec 22, 2023 · 1 comment

Comments

@Blurpex
Copy link

Blurpex commented Dec 22, 2023

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:

  1. install venv and inside the cloned repo, make a virtual environment using python3 -m venv venv
  2. set the source with source venv/bin/activate
  3. download the dependencies with pip install -r requirements.txt
  4. finally run it using sudo venv/bin/python3 -m src

also thank you for saving my keyboard :)

@finkrer
Copy link
Owner

finkrer commented Dec 25, 2023

Thanks for pointing that out. Unfortunately, I can't verify that this specific set of instructions will work for new users, as I'm not using Linux anymore.

If you want, you can submit a pull request that, I guess, changes the .sh file and the README, if that is all that's required. Once you confirm that the new instructions work, I can merge the pull request.

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

No branches or pull requests

2 participants