diff --git a/scripts/install-octopi.sh b/scripts/install-octopi.sh index 82056a4b..bec01d1a 100755 --- a/scripts/install-octopi.sh +++ b/scripts/install-octopi.sh @@ -34,11 +34,9 @@ create_virtualenv() report_status "Updating python virtual environment..." # Create virtualenv if it doesn't already exist - [ ! -d ${PYTHONDIR} ] && virtualenv --no-setuptools ${PYTHONDIR} - [ ! -x ${PYTHONDIR}/bin/pip ] && virtualenv ${PYTHONDIR} + [ ! -d ${PYTHONDIR} ] && virtualenv ${PYTHONDIR} # Install/update dependencies - ${PYTHONDIR}/bin/pip install setuptools==44.0.0 ${PYTHONDIR}/bin/pip install -r ${SRCDIR}/scripts/klippy-requirements.txt }