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.
This commit is contained in:
1 parent
ec979de9b6
commit
5f3fb8c48d
1 file changed
+10
@@ -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
|
||||
```
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
Reference in new issue
Block a user