GithubHelp home page GithubHelp logo

Comments (5)

DomAmato avatar DomAmato commented on June 27, 2024 1

We created packages for each of those python versions since it being packaged as bytecode prevented it from being compatible across versions of python: https://pypi.org/project/python-sdk-auth/#history

The versions correspond with the python minor number so 0.3.7 is 3.7, 0.3.8 is 3.8 and so on...

from hologram-python.

DomAmato avatar DomAmato commented on June 27, 2024

The SDK version 0.9.0 requires python 3.7 or greater. It might install but you will get this bad magic number error on versions of python lower than 3.7

I will close this and reopen if there is a compelling reason to support older versions of python

from hologram-python.

andresvidal avatar andresvidal commented on June 27, 2024

Thanks. I’ll try it again. Can you guys update the Docs? They are calling for different python versions.

2.7 https://hologram.io/docs/reference/cloud/hologram-cli/

3.7 https://hologram.io/docs/reference/cloud/python-sdk/

from hologram-python.

erikbeall avatar erikbeall commented on June 27, 2024

Has this really been fixed for ARM with python bytecode??? With hologram v0.9.0 or 0.9.1 I'm having the exact same issue across two ARM platforms: 1) python3.7 on a Raspberry Pi (Buster) and 2) python3.8 on a Jetson Nano (Ubuntu 18.04, Jetpack 4.6.1):

ImportError: bad magic number in 'HologramAuth': b'a\r\r\n'

This is a big problem as we need to deploy a suite of agriculture tools across the USA in ~3 weeks and I'd showcased the Hologram R410M just a few days ago as our proposed solution.

from hologram-python.

erikbeall avatar erikbeall commented on June 27, 2024

Thank you! I saw this in another post but due to the name being different from the hologram library I didn't understand this was intended to be a second install that fixes the bytecode issue on the hologram-python install. Works on Raspberry Pi, still need to do some digging on the Nano to get it working but I believe my problem is solved.

from hologram-python.

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.