The recommended command line dependencies install can break a user's system. #107

Closed
opened 2023-07-14 07:24:00 -04:00 by brunoais · 2 comments
brunoais commented 2023-07-14 07:24:00 -04:00 (Migrated from github.com)

In:

git clone https://github.com/casualsnek/waydroid_script
cd waydroid_script
sudo python3 -m pip install -r requirements.txt

Instead of:

sudo python3 -m pip install -r requirements.txt

Use --user

sudo python3 -m pip install --user -r requirements.txt

That way these packages are not changed inside /usr which can break a user's system.
Even if a package still breaks a user's system, these installed packages can easily be removed with:

sudo python3 -m pip uninstall --user -r requirements.txt

That way the OS as a whole won't break (even if another software breaks but then it's just a matter of reinstalling the correct dependencies)

In: ``` git clone https://github.com/casualsnek/waydroid_script cd waydroid_script sudo python3 -m pip install -r requirements.txt ``` Instead of: ``` sudo python3 -m pip install -r requirements.txt ``` Use `--user` ``` sudo python3 -m pip install --user -r requirements.txt ``` That way these packages are not changed inside `/usr` which can break a user's system. Even if a package still breaks a user's system, these installed packages can easily be removed with: ``` sudo python3 -m pip uninstall --user -r requirements.txt ``` That way the OS as a whole won't break (even if another software breaks but then it's just a matter of reinstalling the correct dependencies)
amogus07 commented 2023-12-06 00:11:45 -05:00 (Migrated from github.com)

Just install the dependencies without sudo as per the instructions and use a venv.

Just install the dependencies without sudo as per the instructions and use a venv.
brunoais commented 2023-12-06 02:45:42 -05:00 (Migrated from github.com)

Fixed in #118

Fixed in #118
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wbruno/waydroid_script#107