Code Monkey home page Code Monkey logo

Comments (4)

TomFaulkner avatar TomFaulkner commented on August 24, 2024

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 setup.py. I put a version check in the setup.py to prevent installation, with a nice error message, on older versions of Python.

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.

TomFaulkner avatar TomFaulkner commented on August 24, 2024

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.

jaconstantine avatar jaconstantine commented on August 24, 2024

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.

TomFaulkner avatar TomFaulkner commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.