CodingTheUnknown / OctoPrint-Tplinkautoshutdown

A plugin designed to be used within OctoPrint and OctoPi to control TP-Link kasa devices.
https://github.com/CodingTheUnknown/OctoPrint-Tplinkautoshutdown.git
9 stars 7 forks source link

Getting Errors When Downloading #18

Closed nichols89ben closed 3 years ago

nichols89ben commented 3 years ago

ERROR: Could not find a version that satisfies the requirement python-kasa (from OctoPrint-Tplinkautoshutdown==0.2.1) (from versions: none)ERROR: No matching distribution found for python-kasa (from OctoPrint-Tplinkautoshutdown==0.2.1)Error!Could not parse output from pip, see plugin_pluginmanager_console.log for generated output

I apologize in advance If I'm doing something wrong

CodingTheUnknown commented 3 years ago

Can i ask what device you are running this on. What your operating system version is for OctoPrint and if you know what version of python you are running on

nichols89ben commented 3 years ago

Hi, thanks for your reply. Raspberry Pi 3 B+, Octoprint Version 1.5.3, and not sure of the last one, just tried to upload with the URL .

Thanks,

Ben Nichols

On Sun, Feb 21, 2021 at 4:37 PM jamesmccannon02 notifications@github.com wrote:

Can i ask what device you are running this on. What your operating system version is for OctoPrint and if you know what version of python you are running on

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jamesmccannon02/OctoPrint-Tplinkautoshutdown/issues/18#issuecomment-782931097, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASSV646EVSVCMSDW5R7CJK3TAF4JDANCNFSM4X7MNQFA .

nichols89ben commented 3 years ago

Found Python 2.7.16

CodingTheUnknown commented 3 years ago

Ok, so you need to update your OctoPrint to use python3. There are two options. Either by updating using https://octoprint.org/blog/2020/09/10/upgrade-to-py3/. However this method is hit and miss. For me it didn't work. Or install OctoPi 0.18 https://octoprint.org/download/. The python2 version will be discontinued soon i didn't develop it to work with python2.

nichols89ben commented 3 years ago

It was me! That worked, thank you!