Comments (4)
ARM CPUs should be fine, but the code requires Python 3.6+. I haven't made any attempt to have backwards compatibility.
Python 2.7 will no longer be supported by the Python Software Foundation in 17 months. Unfortunately, setup.py doesn't automatically prevent installation of incompatible packages, I suppose I could put a version check in the I put a version check in the setup.py to prevent installation, with a nice error message, on older versions of Python.setup.py
.
Have you tried running using the python3 binary? (Just swap in python3 for python in your commands.) Is installing 3.7, or 3.6, an option for you? (It isn't too difficult, but might take half an hour on a Pi if your distribution doesn't have a package for it.) If not, a docker image would work. (Docker is something I've been meaning to add to this library, but haven't done so yet.)
Also, it doesn't appear you are using a virtual environment. It's not advisable to install libraries into the system Python, as it can create conflicts with libraries and scripts the system depends on. For example, if this library used the requests library, but required a newer version that had a breaking change it could break your system.
from senseme.
Release 0.1.4 prevents installation on 2.7.
https://github.com/TomFaulkner/SenseMe/releases/tag/v0.1.4
https://pypi.org/project/senseme/
from senseme.
Thanks for taking a look. Raspbian jessie doesn't have python3.6, the newest is python3.4. This is a remote embedded application so I won't be upgrading to stretch for a while.
from senseme.
I think it would be best to install 3.7 from source then. pyenv makes it convenient.
I make use of fstrings, which is a 3.6 feature. If those were replaced with the older format methods it would run on 3.5. I don't know if there is anything that wouldn't run on 3.4 other than that.
from senseme.
Related Issues (20)
- discover_single_device doesn't use known details
- setup.py and distribution HOT 1
- unit tests
- Where to begin? Would like to get running in Flask. HOT 17
- Flask example: Leads to occasional 500 + Traceback
- Flask example: expand to support all library methods
- _get_all_request() is not handling two sections in one line correctly. HOT 2
- Update cache when properties are changed HOT 2
- Whoosh property does not work.
- Background monitor will stop running when _get_all_bare causes an exception. HOT 2
- Break get_all_request into separate, more testable, function
- Fan returns ON/OFF rather than an integer on Brightness
- Issues due to not waiting for responses
- Trouble Discovering Fans HOT 1
- 2022 firmware changes network protocol HOT 2
- Discovery function has a lot of code re-use
- _query method has odd returns HOT 1
- Consider fan, light, light+fan classes
- Update run.py, wa.py, and readme to work with overhaul
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 senseme.