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.73k stars 160 forks source link

Can't install libhoudini #97

Closed msmalik681 closed 1 year ago

msmalik681 commented 1 year ago

I get this error on linux mint 21.1

Traceback (most recent call last): File "/home/malik/Desktop/libhoundini/waydroid_script-main/main.py", line 2, in from InquirerPy import inquirer ModuleNotFoundError: No module named 'InquirerPy'

casualsnek commented 1 year ago

Have you installed the dependencies with python3 -m pip install -r requirements.txt ?

msmalik681 commented 1 year ago

Just did that and I got the same thing its weird because I have installed this before.

Could you help me with instructions on how to manually update it without the script please.

rc17060313 commented 1 year ago

same issue here

casualsnek commented 1 year ago

Just did that and I got the same thing its weird because I have installed this before.

Could you help me with instructions on how to manually update it without the script please.

do it with sudo python3 -m pip install InquirerPy and see if it works !

rc17060313 commented 1 year ago

error: externally-managed-environment

× This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.
rc17060313 commented 1 year ago

sudo python3 -m pip install InquirerPy --break-system-packages then sudo pip install tqdm --break-system-packages

rc17060313 commented 1 year ago

sudo python3 -m pip install InquirerPy --break-system-packages then sudo pip install tqdm --break-system-packages

this works

msmalik681 commented 1 year ago

Already had that dependency satisfied so not sure why it worked now the only thing i did different was running it from downloads instead of the desktop.

I will close this issue down but please if you could help me figure out how to apply the arm libhoudini manually I would forever appreciate it.

wh1ter0z3 commented 7 months ago

Had similar issue on debian12 , fixed by using this command source venv/bin/activate so the proper way for me was:

git clone https://github.com/casualsnek/waydroid_script cd waydroid_script python3 -m venv venv source venv/bin/activate venv/bin/pip install -r requirements.txt sudo venv/bin/python3 main.py