casualsnek / waydroid_script

Python Script to add OpenGapps, Magisk, libhoudini translation library and libndk translation library to waydroid !
GNU General Public License v3.0
1.9k stars 170 forks source link

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

Closed brunoais closed 12 months ago

brunoais commented 1 year ago

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 12 months ago

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

brunoais commented 12 months ago

Fixed in #118