03-08-2022 07:10 PM
Hello,everyone.I'm trying to use a python program in a vi of labview2018 and put a neural network in it. Pytorch needs to be used in the program, but it does not support pythonenvironment behind 3.7. There are only 2.7 and 3.6 versions in the example of labview2018, so I wonder if it supports a higher Python version?
Solved! Go to Solution.
03-09-2022
05:01 PM
- last edited on
05-08-2026
01:30 PM
by
Content Cleaner
See the help here: https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/open-python-session.html
Python version specifies the version of Python in which the Python session runs. This function supports Python of version 2.7 and 3.6 only. Although unsupported versions might work with the LabVIEW Python functions, NI recommends using supported versions of Python only.
-------------------------------------------------------------------------
In my limited experience, it worked fine with Python 3.10 by using "3.10" as the version string.
03-20-2022 05:58 AM
Thank you very much!