A fresh installed ubuntu/debain system does not contain pip by default.
When run command python3 -m ensurepip --default-pip, it says:
Using pip together with the system python might have unexpected results for any system installed
module, so use it on your own risk, or make sure to only use it in virtual environments.
So i tried venv and it works well. Here's how I did.
A fresh installed ubuntu/debain system does not contain pip by default. When run command
python3 -m ensurepip --default-pip
, it says:So i tried venv and it works well. Here's how I did.
sudo apt install python3-venv
#install python venv module globallycd waydroid_script && python3 -m venv venv --system-site-packages
#create a venv with system's packagessource venv/bin/activate
#activate the venv environmentsudo ./venv/bin/python3 -m pip install -r requirements.txt
#install required python modulessudo ./venv/bin/python3 main.py -i/-g/-n/-h/-w
done.