09-23-2009 08:22 AM
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
09-24-2009 01:14 PM
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?
09-14-2010 07:41 AM
Hi Chintan,
I'm facing the same issue with LabPython while importing comtypes package. Were you able to solve the issue ?
Thanks,
Sathish