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.5k stars 144 forks source link

error: externally-managed-environment #93

Closed DaRandomCube closed 9 months ago

DaRandomCube commented 1 year ago

os:ubuntu 23.04 arch:amd64 kernel:Linux 6.2.0-20-generic waydroid image : 18.1-20230422-GAPPS-waydroid_x86_64 Screenshot from 2023-06-06 23-16-08

TriMoon commented 1 year ago

same here no idea if i should risk using the mentioned option at end...

I currently used the following to install the entries in the requirements.txt:

sudo apt install python3-tqdm
TriMoon commented 1 year ago

I just used the below, hope it didn't break my Kubuntu 23.04 system:

sudo python3 -m pip install -r requirements.txt --break-system-packages
DaRandomCube commented 9 months ago

thanks @TriMoon, here is the fix

sudo python3 -m pip install -r requirements.txt --break-system-packages
casualsnek commented 9 months ago

thanks @TriMoon, here is the fix

sudo python3 -m pip install -r requirements.txt --break-system-packages

You can also give updated readme instructions a try, it makes use of venv instead which reduces conflicts with package manager installed python packages !

DaRandomCube commented 9 months ago

thanks @TriMoon, here is the fix

sudo python3 -m pip install -r requirements.txt --break-system-packages

You can also give updated readme instructions a try, it makes use of venv instead which reduces conflicts with package manager installed python packages !

idk how to use venv + i'm not good at english atm

ChuJiani commented 9 months ago

thanks @TriMoon, here is the fix

sudo python3 -m pip install -r requirements.txt --break-system-packages

You can also give updated readme instructions a try, it makes use of venv instead which reduces conflicts with package manager installed python packages !

idk how to use venv + i'm not good at english atm

Just follow README.md and all things will be ok