-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception when loading DLL #127
Comments
Apparently, this is a bug in Python 2.7.13 that should be fixed in 2.7.14 which should be released any day now. It looks like DAQmx also ran into this, see ni/nidaqmx#1. Would you prefer us to hack around this or to downgrade? |
Well, the issue we had yesterday was because our Python version was too low, and today the issue is that Python version is too high :( I've never encountered a package that's so picky about the Python version. Having to re-install Python is a major pain point. Would prefer if you could find some way around these issues and make it work for the entire py2.7 series. |
Sorry for the pain this has caused and understandable. I've got an idea of what we should do and will get it implemented when I get into the office on Monday.
This is a very good point and something I've been introspecting about to ensure we have good Python2 support rather than just patching over problems. |
So onto discussing how to fix this. Taking into account this issue and #116, my gut feel is that the root of our problem is that Python2's unicode/str support isn't mature enough for using When looking to support both versions of the language, we went gung-ho with future-imports which includes Python2 was traditionally very loose with the distinction between byte strings and text strings. They cleaned this up in Python3 but there are a lot of different cases to consider. Even worse when back porting this to Python2 where unicode types aren't native, making it harder for them to identify these problem cases. I can understand why they iterated on this so much within the Python 2.7 point releases. In general, it seems |
Closed by #129 |
We upgraded Python, but now we're getting a different Exception:
The text was updated successfully, but these errors were encountered: