Solution
To solve this specific Python error:
- Make sure that you have installed Python version 2.7 or 3.6.
- Copy the following piece of code:
import sys
if not hasattr(sys, 'argv'):
sys.argv = ['']
- Paste the copied code into the library "multi_process_lib.py" that is located in the following path:
C:\Users\YOUR USER\AppData\Local\Programs\Python\Python36(or 27)\Lib\
site-packages\tensorflow\python\distribute
The final code should look like this:
Note: Make sure that the line sys.argv = [''] has an indentation (a whitespace from the beginning of the row) you can do it if you place your cursor on the beginning of this row and press tab on the keyboard.
- Save it and run again the LabVIEW program.