11-22-2021 03:03 AM
I am trying to call a neural network function of python in Labview 2018 thorough Python node, Python 3.6.0 has installed already. When i execute example of Python node, it works fine. But when I try to run neural network it shows following error. The same code i was running in labview 2015 by using python intergeration toolkit it was working fine. further I have already installed the Tensorflow version 2.6.0 and Keras 2.6 version as well.
LabVIEW: (Hex 0x687) There was an error in executing the specified function.
Module Path: Path://test.py
Function Name: classifer
Python returned the following error: <class 'AttributeError'>
module 'sys' has no attribute 'argv'
Can anyone tell me where I am doing the error?
11-22-2021 03:33 AM
Looks like you have defined an input parameter 'argv' in the module but it is not defined in test.py file.
Kindly share your labview and python code for verification
11-22-2021 03:52 AM
import sys
if not hasattr (sys, 'argv'):
sys.argv = ['']
I have already added this line of code in test.py file
04-21-2022 02:56 AM
Hey,
I am facing the same error . Can you share its solution with me ?Please!!!!!!!!