Solved by FOXaaFOX in post #6 
              
              
                I I tried to run my program on linux platform, and it ran successfully. 
Therefore, it is very likely that it is caused by different os 
Previous os：win 10