derricw / pysentech

Python Interface for Sentech USB Cameras
MIT License
5 stars 1 forks source link

Error with SDK 3.12 and Python 3.7 #3

Open perlakic opened 5 years ago

perlakic commented 5 years ago

Hello there,

I'm getting the following error:

`from pysentech import SentechSystem C:\Users\10272349\AppData\Local\Programs\Python\Python37\lib\site-packages\pysentech\frame.py:29: UserWarning: Failed to import PIL. You will be unable to convert frames to PIL images. warnings.warn("Failed to import PIL. You will be unable to convert frames to PIL images.")

system = SentechSystem("C:\Users\10272349\Desktop\Ubuntu Share\StandardSDK(v3.12)\Standard SDK v3.12\standardsdk(v3.12)") File "", line 1 SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape`

Please advise and thanks in advance!

derricw commented 5 years ago

Hey, Thanks for reporting this. I haven't tested this in py37 or with SDK version 3.12. I'll try and take a look tonight when I get home. You should be able to expect it to work using py36 and 3.08, if you want to revert to that for the time being.