viSci Posted March 30, 2015 Report Share Posted March 30, 2015 Greetings All - I had the unrealistic idea that I could use LabPython with Python 3.x But unfortunately am getting this error straightaway when creating a new session... Is this a show stopper or is there some hope to work around this? Quote Link to comment
Rolf Kalbermatter Posted March 30, 2015 Report Share Posted March 30, 2015 Greetings All - I had the unrealistic idea that I could use LabPython with Python 3.x But unfortunately am getting this error straightaway when creating a new session... LabPython Error.PNG Is this a show stopper or is there some hope to work around this? I'm afraid there is no real way to get the current LabPython to work with Python 3.0 without a recompile (and as it seems modification of the shared library code to the new Python 3.x C API. It may be trivial as just missing the Py_ZeroStuct export but it could be also a lot more complicated. Quote Link to comment
viSci Posted March 30, 2015 Author Report Share Posted March 30, 2015 Thanks for the explanation. I am going to try to back compile our Python instrument driver to v2.7. That will probably be easier then trying to figure out how to modify the LabPython C code. The only pain is that our instrument driver is a work in progress so I will forever have to back compile to keep up. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.