Thursday, January 9, 2025

PIPX and FLASK on Debian / Ubuntu

sudo apt update 

sudo apt install python3 python3-pip python3-venv -y

If next line not working =

python3 -m pip install --user pipx

sudo apt update && sudo apt install pipx

pipx ensurepath

pipx install flask

~/.local/share/pipx/venvs/flask/bin/python <your_script>.py


/*

source ~/.local/share/pipx/venvs/flask/bin/activate

python3 <your_script>.py

deactivate

*/

No comments:

Post a Comment

Komentar=