Showing results for 
Search instead for 
Did you mean: 

Does LV Call Python Node support Python venv setting?


I have already installed numpy in venv, also I can call this lib in spyder or jupyter,


But when I call this in LabVIEW python node, it tells me that:


Possible reason(s):

LabVIEW: (Hex 0x683) The specified Python module could not be imported.

Module Path: D:\LabVIEW_Call_Mnist_Keras\
Function Name: model_compile
Python returned the following error: <class 'ModuleNotFoundError'>
No module named 'numpy'
<traceback object at 0x000001E0030D9CC8>

Call Stack information:
['Traceback (most recent call last):
', ' File "D:\LabVIEW_Call_Mnist_Keras\", line 1, in <module>
import numpy as np
', "ModuleNotFoundError: No module named 'numpy'


I thought it was because I wasn't call python in a venv, so I tried open a command line first, and active the venv at this command line shell, after that I use "start Mnist_Keras.lvproj" to call LabVIEW and open this project, it still report this same error.


Any ideas about this issue?  Thanks!

0 Kudos
Message 1 of 1