hnt@usrpi4:~$ python3 upgrade.py OctoPrint Upgrade to Py 3 (v2.1.8) Hello! This script will move your existing OctoPrint configuration from Python 2 to Python 3 This script requires an internet connection and it will disrupt any ongoing print jobs. It will install the latest version of OctoPrint (1.4.2) and all plugins. No configuration or other files will be overwritten Press [enter] to continue or ctrl-c to quit Detecting system info... Please provide the path to your virtual environment and the config directory of OctoPrint On OctoPi, this would be `/home/pi/oprint` (venv), `/home/pi/.octoprint` (config) and service commands commands `sudo service octoprint stop/start` Path: /home/hnt/OctoPrint/venv Path valid Config directory: /home/hnt/.octoprint Config directory valid To do the install, we need the service stop and start commands. (Leave blank if you don't have a service set up) Stop command: sudo service octoprint stop Start command: sudo service octoprint start Getting OctoPrint version... OctoPrint version: 1.4.2 Reading installed plugins... Plugins installed - ProgressBasedOntime Plugin - Preheat Button - Printoid Plugin - PSU Control - Enclosure Plugin - Filament Manager - SpoolManager Plugin - Dragon Order - Tab Order - Themeify - PrintTimeGenius Plugin - Consolidate Temp Control - Navbar Temperature Plugin If you think there is something missing from here, please check the list of plugins in Octoprint Press [enter] to continue or ctrl-c to quit Root access is required to install python3-dev, please fill in the password prompt if shown Updating package list... Installing python3-dev... python3-dev is already the newest version (3.8.2-0ubuntu2). Creating new Python 3 environment... /usr/bin/python: No module named virtualenv ERROR: Failed to create Python 3 venv Could not create new venv Cleaning up... Fatal Error: Exiting hnt@usrpi4:~$ ^C hnt@usrpi4:~$ sudo apt-get install python3-dev Reading package lists... Done Building dependency tree Reading state information... Done python3-dev is already the newest version (3.8.2-0ubuntu2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. hnt@usrpi4:~$