Comments (5)
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.
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.
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.
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.
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)
- Intermittent TypeError when receiving
- Not all carriers support PDP context ID 1 for data - add others
- Add ability to send raw AT commands through the CLI
- [Research] Use lib to parse PDU instead of doing it ourselves HOT 1
- Disconnecting from a PPP session that was started in a different script fails
- Reconnecting PPP after disconnecting fails with route error
- Return value is being converted to ordinal value
- Ability to handle multiple modems on a single device
- Implement Location for Nova M HOT 1
- Connection status is unique to each instance of the sdk
- cannot import name 'TOTPAuthentication' from 'HologramAuth' (unknown location) HOT 5
- install.sh supports only python3.7 not python3.8 HOT 2
- Allow setting APN programmatically HOT 1
- Add disable eDRX function for CAT-M1 devices HOT 1
- DriverLoader/Module Error HOT 9
- Unable to receive data message from dashboard HOT 3
- Failed to install
- python_sdk_auth HOT 5
- PDP Context is not torn down after socket message
- R410 Does not free up serial port after scanning for modems
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 hologram-python.