Update from 3.11 to 1.8.7 fails

What is the problem?

if i try to update the octoprint installed on my windows minipc i get this errorcode in the mainwindow

"2023-04-23 16:20:08,233 - octoprint.plugins.softwareupdate - INFO - Starting update of octoprint to 1.8.7...
2023-04-23 16:20:59,217 - octoprint.plugins.softwareupdate - ERROR - Update of octoprint can not be performed, please also check plugin_softwareupdate_console.log for possible causes of this
Traceback (most recent call last):
File "c:\octoprint\venv\lib\site-packages\octoprint\plugins\softwareupdate_init_.py", line 974, in _perform_update
update_result = updater.perform_update(target, populated_check, target_version, log_cb=self._log, online=online)
File "c:\octoprint\venv\lib\site-packages\octoprint\plugins\softwareupdate\updaters\pip.py", line 116, in perform_update
raise exceptions.UpdateError("Error while executing pip install", (stdout, stderr))
UpdateError
"

What did you already try to solve it?

tryed to instal an older vrsion of pyhton

Have you tried running in safe mode?

yes but still cant install the update

Did running in safe mode solve the problem?

no

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

WRITE HERE

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

WRITE HERE

The mentioned file could be useful.

As would the whole systeminfo bundle.

hi,

i copied the errormessages in the log
i have allready installed Phyton 3.10
for the bundle i need the system info, but i havent this button in octoprint. its enough if i write the cpu , ram etc ? (Edit = i see the Systeminfobunde is sience 1.6, i have the version 1.3.11, what can i do to geht this ? )

the Log:
2023-04-23 13:37:53,032 c:\octoprint\venv\scripts\python.exe -m pip --disable-pip-version-check install .com/foosel/OctoPrint/archive/1.8.7.zip --no-cache-dir
2023-04-23 13:38:11,088 > Collecting com/foosel/OctoPrint/archive/1.8.7.zip
2023-04-23 13:38:13,648 > Downloading com/foosel/OctoPrint/archive/1.8.7.zip (6.6MB)
2023-04-23 13:39:20,232 ! ERROR: Package 'OctoPrint' requires a different Python: 2.7.14 not in '>=3.7, <4'
2023-04-23 13:45:41,634 c:\octoprint\venv\scripts\python.exe -m pip --disable-pip-version-check install com/foosel/OctoPrint/archive/1.8.7.zip --no-cache-dir
2023-04-23 13:45:49,984 > Collecting com/foosel/OctoPrint/archive/1.8.7.zip
2023-04-23 13:45:52,092 > Downloading hfoosel/OctoPrint/archive/1.8.7.zip (6.6MB)
2023-04-23 13:47:03,071 ! ERROR: Package 'OctoPrint' requires a different Python: 2.7.14 not in '>=3.7, <4'
2023-04-23 14:00:02,427 c:\octoprint\venv\scripts\python.exe -m pip --disable-pip-version-check install com/foosel/OctoPrint/archive/1.8.7.zip --no-cache-dir
2023-04-23 14:00:12,230 > Collecting com/foosel/OctoPrint/archive/1.8.7.zip
2023-04-23 14:00:15,828 > Downloading com/foosel/OctoPrint/archive/1.8.7.zip (6.6MB)
2023-04-23 14:01:31,017 ! ERROR: Package 'OctoPrint' requires a different Python: 2.7.14 not in '>=3.7, <4'
2023-04-23 14:08:29,437 c:\octoprint\venv\scripts\python.exe -m pip --disable-pip-version-check install com/foosel/OctoPrint/archive/1.8.7.zip --no-cache-dir
2023-04-23 14:08:35,585 > Collecting com/foosel/OctoPrint/archive/1.8.7.zip
2023-04-23 14:08:37,618 > Downloading com/foosel/OctoPrint/archive/1.8.7.zip (6.6MB)
2023-04-23 14:09:39,010 ! ERROR: Package 'OctoPrint' requires a different Python: 2.7.14 not in '>=3.7, <4'
2023-04-23 15:00:33,542 c:\octoprint\venv\scripts\python.exe -m pip --disable-pip-version-check install com/foosel/OctoPrint/archive/1.8.7.zip --no-cache-dir
2023-04-23 15:00:52,111 > Collecting com/foosel/OctoPrint/archive/1.8.7.zip
2023-04-23 15:00:54,140 > Downloading com/foosel/OctoPrint/archive/1.8.7.zip (6.6MB)
2023-04-23 15:01:23,145 ! ERROR: Package 'OctoPrint' requires a different Python: 2.7.14 not in '>=3.7, <4'
2023-04-23 15:11:48,355 c:\octoprint\venv\scripts\python.exe -m pip --disable-pip-version-check install hcom/foosel/OctoPrint/archive/1.8.7.zip --no-cache-dir
2023-04-23 15:11:52,806 > Collecting com/foosel/OctoPrint/archive/1.8.7.zip
2023-04-23 15:11:54,823 > Downloading htt. com/foosel/OctoPrint/archive/1.8.7.zip (6.6MB)
2023-04-23 15:12:21,203 ! ERROR: Package 'OctoPrint' requires a different Python: 2.7.14 not in '>=3.7, <4'
2023-04-23 15:43:40,660 c:\octoprint\venv\scripts\python.exe -m pip --disable-pip-version-check install hcom/foosel/OctoPrint/archive/1.8.7.zip --no-cache-dir
2023-04-23 15:43:44,752 > Collecting b. com/foosel/OctoPrint/archive/1.8.7.zip
2023-04-23 15:43:46,815 > Downloading . com/foosel/OctoPrint/archive/1.8.7.zip (6.6MB)
2023-04-23 15:44:11,201 ! ERROR: Package 'OctoPrint' requires a different Python: 2.7.14 not in '>=3.7, <4'
2023-04-23 15:50:04,792 c:\octoprint\venv\scripts\python.exe -m pip --disable-pip-version-check install . com/foosel/OctoPrint/archive/1.8.7.zip --no-cache-dir
2023-04-23 15:50:09,522 > Collecting com/foosel/OctoPrint/archive/1.8.7.zip
2023-04-23 15:50:11,545 > Downloading com/foosel/OctoPrint/archive/1.8.7.zip (6.6MB)
2023-04-23 15:50:36,956 ! ERROR: Package 'OctoPrint' requires a different Python: 2.7.14 not in '>=3.7, <4'
2023-04-23 16:14:16,237 c:\octoprint\venv\scripts\python.exe -m pip --disable-pip-version-check install . com/foosel/OctoPrint/archive/1.8.7.zip --no-cache-dir
2023-04-23 16:14:20,698 > Collecting com/foosel/OctoPrint/archive/1.8.7.zip
2023-04-23 16:14:22,717 > Downloading com/foosel/OctoPrint/archive/1.8.7.zip (6.6MB)
2023-04-23 16:14:46,727 ! ERROR: Package 'OctoPrint' requires a different Python: 2.7.14 not in '>=3.7, <4'
2023-04-23 16:17:04,811 c:\octoprint\venv\scripts\python.exe -m pip --disable-pip-version-check install . com/foosel/OctoPrint/archive/1.8.7.zip --no-cache-dir
2023-04-23 16:17:08,934 > Collecting. com/foosel/OctoPrint/archive/1.8.7.zip
2023-04-23 16:17:10,990 > Downloading. com/foosel/OctoPrint/archive/1.8.7.zip (6.6MB)
2023-04-23 16:17:47,204 ! ERROR: Package 'OctoPrint' requires a different Python: 2.7.14 not in '>=3.7, <4'
2023-04-23 16:18:25,821 c:\octoprint\venv\scripts\python.exe -m pip --disable-pip-version-check install . com/foosel/OctoPrint/archive/1.8.7.zip --no-cache-dir
2023-04-23 16:18:31,088 > Collecting com/foosel/OctoPrint/archive/1.8.7.zip
2023-04-23 16:18:32,529 > Downloading . com/foosel/OctoPrint/archive/1.8.7.zip (6.6MB)
2023-04-23 16:19:02,809 ! ERROR: Package 'OctoPrint' requires a different Python: 2.7.14 not in '>=3.7, <4'
2023-04-23 16:20:08,242 c:\octoprint\venv\scripts\python.exe -m pip --disable-pip-version-check install com/foosel/OctoPrint/archive/1.8.7.zip --no-cache-dir
2023-04-23 16:20:12,460 > Collecting com/foosel/OctoPrint/archive/1.8.7.zip
2023-04-23 16:20:14,515 > Downloading com/foosel/OctoPrint/archive/1.8.7.zip (6.6MB)
2023-04-23 16:20:59,217 ! ERROR: Package 'OctoPrint' requires a different Python: 2.7.14 not in '>=3.7, <4'

Your venv appears to still be using python 2.7. Although you have installed Python 3.10 that doesn't change the python version in the venv. You would have to recreate the venv.

ok i understand but how ?

This appears to be the folder in which you created your venv, which matches the manual install instructions. You should be able to just rename that folder and follow the manual install instructions to create it fresh.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.