mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-03-04 17:14:38 -07:00
Switch Python version from 2 to 3 for virtualenv
This commit is contained in:
parent
9758f659dc
commit
efa61ed33d
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ create_virtualenv()
|
|||
report_status "Updating python virtual environment..."
|
||||
|
||||
# Create virtualenv if it doesn't already exist
|
||||
[ ! -d ${PYTHONDIR} ] && virtualenv -p python2 ${PYTHONDIR}
|
||||
[ ! -d ${PYTHONDIR} ] && virtualenv -p python3 ${PYTHONDIR}
|
||||
|
||||
# Install/update dependencies
|
||||
${PYTHONDIR}/bin/pip install -r ${SRCDIR}/scripts/klippy-requirements.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue