Hologram SDK on Python 3.6.5


#1

So I would like to get the Hologram sdk working for Python 3.6.5. It seems that currently only 2.7 is supported. When will a 3.6.5 version be released? Has anyone built it for 3.6.5?


#2

Hi David,

Thanks for reaching out! I’m Pia from the Product team here at Hologram. Currently, we do not have a timeline for when Python 3 will be supported by the SDK, but we will update the community when we do.

What project you’re working on? It’d be helpful for us to understand your compatibility needs for future planning.

In the meantime, there are also some experimental ports of our SDK available at https://github.com/hologrameducation if you’d like to browse those.


#3

Pia, is there a way for the user community to influence the priority of the python 3.x update? For my application, it is at the top of the list.

Thanks,


#4

Hi Aaron,

Yes, I’m actively checking out feasibility for the update. What features from python 3 are important for your application? As I work through parity requirements, it’ll be helpful to get that understanding to make sure it works for you.

Thanks,

Pia


#5

Thanks for giving this your attention Pia,

I am running a Nova on RasPi3 with NOOBS Raspian and miniconda python 3.4.3.

Specific sdk commands I use are:
.sendSMS
.enableSMS
.disableSMS
.connect
.disconnect
location
signal_strength

In addition to the python 3 compatibility, improving the error handling for failed .sendSMS would be helpful.

My main reason for running python3 is to use microsoft ell and opencv


#6

This is really helpful, Aaron. With respect to the .sendSMS error handling is there a fail case we can replicate to evaluate for improvements?

@dmolley How about your needs for Python 3? Are they similar to Aaron or a different set of reasons?


#7

Thanks Pia, I’ll log the errors and detail the fail case. It might be a few weeks before I am able to get to this. But in short, occasionally the sendSMS triggers some exceptions, then sometimes sends, sometimes not. I am guilty of not spending time to interpret the exceptions, so I’ll start there to make sure I’m not doing something stupid.


#8

How is the Python 3.x SDK effort going?


#9

Have to say, I’m interested in this as well. As I’m a relative newbie to Python and the Raspberry Pi, I installed the latest Raspbian and couldn’t work out why one of the projects (find my Bike) was throwing up error messages.

After a bit of Internet Searching, I discovered that there are a number of changes in the Python 3 coding syntax. I made the relevant changes to reflect this but then got errors with the hologram modules only to discover that they aren’t Python 3 compatible.

The added issue for me was, Python 2.7 was ‘missing’ from the latest version of Raspbian in that I had to ‘envoke’ it again in the menu and add in a couple of additional modules etc. It seems from what I can see that the Raspberry Pi folk are squeezing Python 2.7 out in favour of python 3

Declan


#10

Any updates on moving to python 3? My project involves a lot more than just the Nova modem (although that is a central part of it). Having to use python 2 is a real bummer for compatibility with other libraries. The world has mostly moved on to python 3. All support for python 2 is done in 2020. See https://pythonclock.org