mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-02-12 11:21:56 +00:00
Fix fastapi install on Debian 10
This commit is contained in:
parent
039218a015
commit
cb5f138c4e
1 changed files with 5 additions and 0 deletions
|
@ -638,6 +638,11 @@ if [ "$OMR_ADMIN" = "yes" ]; then
|
|||
pip3 -q install starlette --break-system-packages
|
||||
else
|
||||
pip3 -q install netjsonconfig
|
||||
if [ "$ID" = "ubuntu" ] || ([ "$ID" = "debian" ] && [ "$VERSION_ID" = "10" ]); then
|
||||
pip3 -q install fastapi==0.99.1 -U
|
||||
else
|
||||
pip3 -q install fastapi -U
|
||||
fi
|
||||
pip3 -q install fastapi -U
|
||||
pip3 -q install jsonschema -U
|
||||
pip3 -q install python-multipart jinja2 -U
|
||||
|
|
Loading…
Reference in a new issue