jcstoke Posted January 21, 2022 Report Share Posted January 21, 2022 I am trying to call a python script function from labview and get the following error, Module Path: C:\STOKE\code\GSW.Deployment.0.1-rc0\yardmaster\yardmaster.py LabVIEW: (Hex 0x683) The specified Python module could not be imported. ========================= LabVIEW: (Hex 0x683) The specified Python module could not be imported. Module Path: C:\STOKE\code\GSW.Deployment.0.1-rc0\yardmaster\yardmaster.py Function Name: exit Python returned the following error: <class 'ImportError'> DLL load failed while importing _ssl: The specified module could not be found. <traceback object at 0x037E3FA8> If I run the python script in a Anaconda Prompt command shell it works as expected. I'm wondering if the Anaconda enviroment has all of the dependancies needed, but not so in the LV session. I've tried passing the parameter "function name" as one of the commands listed below with the module parameter as "yardmaster.py" whcih returns an error in LV but works in the cmd shell (as shown below). Any ideas and/or help is greatly appreciated. SERVO Test Python Node.vi 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.