From 5f3fb8c48dd15a20efb2fc2d8535e8204457a1ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sommer?= Date: Sun, 4 Jun 2023 11:05:12 +0200 Subject: [PATCH] README: Add description for using virtual environment At least, Debian is a bit picky on running *pip* as root and it doesn't provide a package for InquirerPy. So, the best way is to use a virtual environment for Python. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 2d6c7f5..aa0077c 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,16 @@ sudo python3 -m pip install -r requirements.txt sudo python main.py ``` +or use a Python virtual environment: + +``` +git clone https://github.com/casualsnek/waydroid_script +cd waydroid_script +python3 -m venv --upgrade-deps .venv +.venv/bin/pip install -r requirements.txt +sudo .venv/bin/python main.py +``` + ![image-20230430013103883](assets/img/README/image-20230430013103883.png) ![image-20230430013119763](assets/img/README/image-20230430013119763.png)