Knio / pynmea2

Python library for parsing the NMEA 0183 protocol (GPS)
MIT License
632 stars 223 forks source link

Micropython compatability #155

Open rjenningsuk opened 1 year ago

rjenningsuk commented 1 year ago

Is it possible to make this compatible with micro python?

Currently on installing it and the first run I'm straight away hit with:

Traceback (most recent call last): File "", line 2, in File "/lib/pynmea2/init.py", line 8, in File "/lib/pynmea2/nmea.py", line 29, in File "/lib/pynmea2/nmea.py", line 20, in init AttributeError: type object 'type' has no attribute 'init'

QiaoTuCodes commented 1 year ago

Yeah! it's not use for micropython . that's a big lib on x86&64 platform . i mean you can write small codes on micropython or , talk a look this share: https://github.com/coylen/upyNMEA

kamiccolo commented 9 months ago

Is it possible to make this compatible with micro python?

Currently on installing it and the first run I'm straight away hit with:

Traceback (most recent call last): File "", line 2, in File "/lib/pynmea2/init.py", line 8, in File "/lib/pynmea2/nmea.py", line 29, in File "/lib/pynmea2/nmea.py", line 20, in init AttributeError: type object 'type' has no attribute 'init'

Could You please write down a brief instruction how to reproduce it, for people who may not be very proficient with MicroPython and it's infrastructure?