IDE: Xcode
I have the following code in my program sending this command in terminal. Program hangs up on this line and the debug area shows error "no module named pyvisa_py".
(power_max.py import the pyvisa module)
Then I try this command in terminal directly and the module pyvisa_py, installed already, can be found. The python file can be executed successfully.
How could I make Xcode identify the pyvisa_py module?
[cmd appendString:@“python3 /Users/shared/power_max.py”];
[cmd appendString:[Paremeter_IP stringValue]];
[cmd appendString:@" > /users/Shared/CMW.txt"];
system([cmd UTF8String]);