diff options
author | Guy Sheffer <guysoft@gmail.com> | 2020-01-16 12:27:41 +0300 |
---|---|---|
committer | Guy Sheffer <guysoft@gmail.com> | 2020-01-16 12:27:41 +0300 |
commit | a3c7da1f163f22f28674fbc91aea4e1655338438 (patch) | |
tree | a400c8c33262b3c5d8179cadd081cba330a98201 /src/modules/octopi | |
parent | dbf48f69b17244ec583bb4c68c546662c814a024 (diff) |
Fixes #627
Diffstat (limited to 'src/modules/octopi')
-rwxr-xr-x | src/modules/octopi/start_chroot_script | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/modules/octopi/start_chroot_script b/src/modules/octopi/start_chroot_script index d2e8847..cad1908 100755 --- a/src/modules/octopi/start_chroot_script +++ b/src/modules/octopi/start_chroot_script @@ -32,10 +32,14 @@ apt-get install --reinstall iputils-ping pushd /home/pi - #build virtualenv - sudo -u pi virtualenv oprint - + # build virtualenv + # uncomment when setup tools issue has been fixed + # sudo -u pi virtualenv oprint + # sudo -u pi /home/pi/oprint/bin/pip install --upgrade pip + + sudo -u pi virtualenv --no-setuptools oprint sudo -u pi /home/pi/oprint/bin/pip install --upgrade pip + sudo -u pi /home/pi/oprint/bin/pip install "setuptools<45" # OctoPrint & pyserial if [ "$OCTOPI_INCLUDE_OCTOPRINT" == "yes" ] |