Fix Netbase on Colab

Apparently Colab does not properly have netbase which we now use for the proper websocket support, now the installer forces it to be correctly installed so we don't crash on launch.
This commit is contained in:
henk717 2021-12-14 04:02:33 +01:00
parent 0f06cee272
commit c5dec67f13
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ if [ "$init" != "skip" ]; then
else
pip install -r requirements.txt
fi
# Make sure Colab has netbase, somehow it doesn't properly have that...
sudo apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall netbase
touch /content/installed
fi
fi