Package 'octorelay' requires a different Python: 3.7.3 not in '<4,>=3.9'
Closed this issue · 2 comments
See install log below. Looks like wont install as the Python version on OctoPrint is newer than expected
Updating, please wait.
+++++++++++++++++++++++++++++++
Now updating OctoRelay to 5.0.3
+++++++++++++++++++++++++++++++
/home/pi/oprint/bin/python3 -m pip --disable-pip-version-check install https://github.com/borisbu/OctoRelay/releases/download/5.0.3/release.zip --no-cache-dir
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/borisbu/OctoRelay/releases/download/5.0.3/release.zip
Downloading https://github.com/borisbu/OctoRelay/releases/download/5.0.3/release.zip (51 kB)
Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python3.7/site-packages (from OctoRelay==5.0.3) (1.10.2)
ERROR: Package 'octorelay' requires a different Python: 3.7.3 not in '<4,>=3.9'
Requirement already satisfied: RPi.GPIO in /home/pi/oprint/lib/python3.7/site-packages (from OctoRelay==5.0.3) (0.7.1)
The update did not finish successfully. Please consult octoprint.log
and plugin_softwareupdate_console.log
for details.
Looks like wont install as the Python version on OctoPrint is newer than expected
Yes, it won't, @davy932 .
Version 5 of the plugin really requires Python in that range.
The feature of v5 is supporting Raspberry Pi 5, which requires another driver, that need Python 3.9.
I put that notice in every release note of v5 and in Readme/Requirements.
If you can not upgrade your Python to at least 3.9, please do not try upgrading the plugin to v5 and continue using v4.
The latest v4 you can install manually from the following URL:
https://github.com/borisbu/OctoRelay/releases/download/4.2.1/release.zip