Install Python 3.10
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.10
Setup venv
:
sudo apt install python3.10-venv
python3.10 -m venv .venv
source .venv/bin/activate
Install requirements:
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install -r requirements.txt --upgrade
Install Python 3.10
brew update
brew install python@3.10
Setup venv
:
python3.10 -m venv .venv
source .venv/bin/activate
Install requirements:
pip install -r requirements.txt
streamlit run Home.py