araten10 / EdgewarePlusPlus

Expansion to PetitTournesol's fetishware "Edgeware", adding more features and config options.
MIT License
57 stars 19 forks source link

using pip safely #70

Closed s-b-repo closed 2 months ago

s-b-repo commented 3 months ago

for arch and some systems pip can destroy your system it is reccomened to use venv

https://docs.python.org/3/library/venv.html

s-b-repo commented 3 months ago

sudo python -m venv env source env/bin/activate

s-b-repo commented 3 months ago

https://www.freecodecamp.org/news/how-to-setup-virtual-environments-in-python/

LewdDevelopment commented 2 months ago

Arch doesn't let you use pip install outside a virtual environment without passing --break-system-packages and directs you to use a venv when you try, so I figured it would be fine not to mention it. Not very good reasoning, I know. Using a venv is indeed much better practice.

I intend to include some setup scripts for Linux which automatically create a venv for Edgeware and use it to run it.

s-b-repo commented 2 months ago

Arch doesn't let you use pip install outside a virtual environment without passing --break-system-packages and directs you to use a venv when you try, so I figured it would be fine not to mention it. Not very good reasoning, I know. Using a venv is indeed much better practice.

I intend to include some setup scripts for Linux which automatically create a venv for Edgeware and use it to run it.

i once broke my whole system pip installing one thing on arch