viniciuschiele / flask-apscheduler

Adds APScheduler support to Flask
Apache License 2.0
1.11k stars 184 forks source link

sudo apt install python3-flask-apscheduler WANTED #250

Open clemefr opened 1 month ago

clemefr commented 1 month ago

We need to install globally flask-APScheduler

flask-APScheduler is available from https://pypi.org/ (with sudo pip3 install)

The reason why the pip install command doesn’t work in Ubuntu >23.04 is down to an intentional shift in policy (also taken in Ubuntu’s upstream, Debian) to avoid conflicts between the Python package manager and Ubuntu’s underlying APT. Basically, you can’t run pip install outside a virtual environment in Ubuntu 23.04. If you try to, you get a “externally managed environment” error

As many have already did (python3-flask-sqlalchemy, python3-flask-mail, etc.. ), python3-flask-apscheduler is still missing for installation with sudo apt install

savchenko commented 1 month ago

You still can use virtualenvs. pipx, poetry, etc. all work as usual.