Install wheel before octoprint

This commit is contained in:
paukstelis
2022-02-26 16:46:34 -05:00
parent 49c47ff2f2
commit 2a5f58f4d6

View File

@@ -513,6 +513,8 @@ prepare () {
echo "Installing OctoPrint in /home/$user/OctoPrint"
#make venv
sudo -u $user python3 -m venv /home/$user/OctoPrint
#pre-install wheel
sudo -u $user /home/$user/OctoPrint/bin/pip install wheel
#install oprint
sudo -u $user /home/$user/OctoPrint/bin/pip install OctoPrint
#start server and run in background