gpilab / philips-data-reader

Binary release of the Philips raw data reader node.
13 stars 5 forks source link

Python 3.9 support #15

Open AbstractMethod opened 2 years ago

AbstractMethod commented 2 years ago

Could you please put a new version and/or binary out for Python 3.9 and 3.10?

nathanielatom commented 1 month ago

And now Python 3.12 and 3.13 as well.

When I unwittingly tried to import this with python 3.9 I got the following (surprisingly cryptic for python) error:

Python 3.9.10 | packaged by conda-forge | (main, Feb  1 2022, 21:27:48) 
Type 'copyright', 'credits' or 'license' for more information
IPython 8.18.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import philips.fileIO.readPhilipsExports
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[1], line 1
----> 1 import philips.fileIO.readPhilipsExports

ImportError: bad magic number in 'philips.fileIO.readPhilipsExports': b'U\r\r\n'