Solution
This can happen in LabVIEW 2023 if it cannot find the
PythonStartScript.py file, which is required for the LabVIEW Python functions to be executed correctly. Try the following suggestions to make sure LabVIEW can find this file:
- Verify that the PythonStartScript.py file is located at:
- C:\<Program Files>\National Instruments\Shared\NIPythonInterface
- C:\<Program Files>\National Instruments\LabVIEW 2023\resource
- Use Program Files if you are using a 64-bit LabVIEW version and Program Files (x86)for 32-bit LabVIEW.
- If the file is not found, try to repair LabVIEW.
- If the file is located at the expected locations, make sure you don't have a copy of the niPythonInterface.dll and niPythonHost.exe files in the C:\<Program Files>\National Instruments\LabVIEW 2023 folder, this could force LabVIEW to look for the PythonStartScript.py in an incorrect path resulting in the 1748 error.