Jump to content

LabPython Error


Recommended Posts

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...

 

attachicon.gifLabPython 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.

Link to comment

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.