What is the problem?
1.3.11 upgrade to 1.6.1 fails
Exception:
Traceback (most recent call last):
File "/home/pi/oprint/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 177, in main
status = self.run(options, args)
File "/home/pi/oprint/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 360, in run
if build_failures:
NameError: global name 'build_failures' is not defined
What did you already try to solve it?
Installed pip, looked at python file lines
/home/pi/oprint/lib/python2.7/site-packages/pip/_internal/cli/base_command.py line 177
status = self.run(options, args)
# FIXME: all commands should return an exit status
# and when it is done, isinstance is not needed anymore
if isinstance(status, int):
return status
except PreviousBuildDirError as exc:
logger.critical(str(exc))
logger.debug('Exception information:', exc_info=True)
and
/home/pi/oprint/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 360
if build_failures:
raise InstallationError(
"Could not build wheels for {} which use" +
" PEP 517 and cannot be installed directly".format(
", ".join(r.name for r in build_failures)))
Have you tried running in safe mode?
Yes
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!)
1.3.11 doesn't have this option, only 1.6.0 and up...
Additional information about your setup
OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
1.3.11 running on Pi Zero on Prusa i3 MK3