Comments (6)
Hi,
Thanks for the bug report, but there is nothing I can do about that.
I made the plugin support only Python 3. You seem to have Python 2 installed.
If you want to update Python on your raspberry pi, you can read through this: Upgrade your OctoPrint install to Python 3!
Cheers,
Sam
from physicalbutton.
I get the same error. I have python 2 and 3 installed, but system info shows "env.python.version: 2.7.16". Running OctoPrint 1.6.1. Maybe instead of calling python we need to call python3?
from physicalbutton.
What is the output of pip --version
and python --version
on your pi?
from physicalbutton.
You need to have Python 3 set as standard as I cannot influence how the plugin is installed 😅
from physicalbutton.
Older versions of OctoPi used Python2 as the default. Use the script here: https://octoprint.org/blog/2020/09/10/upgrade-to-py3/ to upgrade the OctoPi installation and this plug-in will install. This may break old plug-ins that are Python2 only.
Setting the OS default Python version is not enough. You need to change OctoPi.
from physicalbutton.
Okay, I wasn't completely sure about that. But I also posted that link already above :)
Cheers,
Sam
from physicalbutton.
Related Issues (20)
- Button action on Raspi startup HOT 2
- [QUESTION] Run a system command HOT 7
- [FEATURE] Prevent button execution while printing HOT 17
- [FEATURE] Temporarily disable a button? HOT 6
- [FEATURE] Add button on navbar HOT 2
- [FEATURE] Add more actions HOT 1
- [BUG] GCODE button only works with a connected printer in the Octoprint interface HOT 6
- [FEATURE] GCODE Toggle button HOT 2
- [BUG] OctoPrint enters Safe Mode after enabling Physical Button plugin (only for the first time) HOT 1
- increase or decrease bed- or hotendtemp HOT 1
- [FEATURE] Short and Long press functions for ONE physical button HOT 1
- [QUESTION] Sometimes save doesn't save changes HOT 3
- [FEATURE] USB HOT 1
- [BUG] Plugin fails to install Octoprint 1.9.2 HOT 1
- Doesn't work on new installation HOT 9
- [QUESTION] How to setup keyboard hot keys HOT 1
- [QUESTION] Does this support Waveshare 2.7" HAT on Raspberry Pi? HOT 1
- Cannot Install - "Install Unknown" HOT 4
- [FEATURE] toggle power HOT 2
- Not Working After Install HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from physicalbutton.