当前位置: 首页 > 工具软件 > jfinal money > 使用案例 >

Software Engineering Final Contribution -- I Hate Money

俞俊逸
2023-12-01

Install

Ubuntu 20.04.2 LTS

Ubuntu 20.04 上安装 Python Pip

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

Configuration

 类似资料:

相关阅读

相关文章

相关问答