1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunorunner_ynh.git synced 2024-09-03 20:36:13 +02:00

fix websocket uninstall

This commit is contained in:
yalh76 2019-02-14 20:57:25 +01:00
parent ce2ac28d0a
commit 4ec77c8cb9
2 changed files with 2 additions and 2 deletions

View file

@ -127,7 +127,7 @@ pushd $final_path
virtualenv -p $($final_path/.pythonz/bin/pythonz locate 3.6.6) ve3 virtualenv -p $($final_path/.pythonz/bin/pythonz locate 3.6.6) ve3
ve3/bin/pip3 install -r requirements.txt ve3/bin/pip3 install -r requirements.txt
#Fix current websocket version error (2019-02-14) #Fix current websocket version error (2019-02-14)
ve3/bin/pip3 -y uninstall websockets ve3/bin/pip3 uninstall -y websockets
ve3/bin/pip3 install 'websockets>=6.0,<7.0' ve3/bin/pip3 install 'websockets>=6.0,<7.0'
popd popd

View file

@ -135,7 +135,7 @@ systemctl daemon-reload
#================================================= #=================================================
pushd $final_path pushd $final_path
ve3/bin/pip3 -y uninstall websockets ve3/bin/pip3 uninstall -y websockets
ve3/bin/pip3 install 'websockets>=6.0,<7.0' ve3/bin/pip3 install 'websockets>=6.0,<7.0'
popd popd