Ubuntu 20.04.2 LTS
sudo apt update
sudo apt install python3-pip
pip3 --version
pipx
python3 -m pip install --user pipx
python3 -m pipx ensurepath
Install virtualenv via pipx
sudo apt-get install python3-venv
pipx install virtualenv
virtualenv --help
Prepare virtualenv (recommended)
virtualenv -p /usr/bin/python3 /home/ubuntu/ihatemoney
source /home/ubuntu/ihatemoney/bin/activate
install
pip install ihatemoney
ATTENTION!: need to upgrade Flask-SQLAlchemy to >= 2.5
https://stackoverflow.com/questions/66647787/attributeerror-cant-set-attribute-when-connecting-to-sqlite-database-with-flas
pip install -U Flask-SQLAlchemy
test it
ihatemoney runserver