LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labpython

I am running labpython in LabVIEW and it works fine. I can import several modules into LabVIEW and work with them.

However, I now want to use an external package in Labpython. It is located in "C:\\python25\lib\site-packages"  folder.

 

When I try to import the package, I get the following error message:

<type 'exceptions.AttributeError'>, 'module' object has no attribute 'argv'

 

Has anybody had a similar problem before? I also tried to manually update the python server path in the script. But that does not help.

 

The module works fine when I am running it in Python.

This is all I am trying to execute and it cannot import 'VisionEgg'

 

import sys
sys.path.insert(0, "C:\Python25\Lib\site-packages")
import VisionEgg

 

Any help is appreciated.

 

Thanks,

Chintan

0 Kudos
Message 1 of 3
(3,851 Views)

Good Afternoon TRFS,

 

LabPython is not supported by National Instruments.  However, other customers may have some information for you here, on our forums.  Have you visited www.openg.org?

0 Kudos
Message 2 of 3
(3,814 Views)

Hi Chintan,

 

I'm facing the same issue with LabPython while importing comtypes package. Were you able to solve the issue ?

 

Thanks,

Sathish

0 Kudos
Message 3 of 3
(3,557 Views)