Trouble Upgrading from Octoprint 1.3.11 to 1.9.1

What is the problem?

When I try to upgrade from octoprint 13.11 to 1.9.1 I get the following error message:

Updating, please wait.
/home/pi/oprint/bin/python2 -m pip --disable-pip-version-check install --no-cache-dir
Looking in indexes:,
Downloading (6.3MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
Complete output from command /home/pi/oprint/bin/python2 /home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/ get_requires_for_build_wheel /tmp/tmpq3dsDx:
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/", line 207, in <module>
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/", line 54, in get_requires_for_build_wheel
return hook(config_settings)
File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/", line 115, in get_requires_for_build_wheel
return _get_build_requires(config_settings, requirements=['wheel'])
File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/", line 101, in _get_build_requires
File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/", line 85, in _run_setup
exec(compile(code, __file__, 'exec'), locals())
File "", line 237
f"{update.spec}: latest {update.latest}, pypi:{}/"
SyntaxError: invalid syntax
Command "/home/pi/oprint/bin/python2 /home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/pep517/ get_requires_for_build_wheel /tmp/tmpq3dsDx" failed with error code 1 in /tmp/pip-req-build-jHVciD

What did you already try to solve it?


Have you tried running in safe mode?


Did running in safe mode solve the problem?


Systeminfo Bundle

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

Cannot obtain in 1.3.11

Additional information about your setup

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

This is on a Raspberry pi. Printer is MPSM v2 but I don't think it matters. I've come back to this after a few years and unable to update. I was getting a different error earlier, and another forum post led me to disable the logging plugin. After that, I get the above error message.

Hello @thepiercingarrow !

OctoPrint 1.3.11 runs on python 2.7, OctoPrint 1.9.1 needs python 3.

I recommend to run a backup, and then start with a fresh OctoPi 1.0.0.

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