I have tried running python scripts in Visual studio with IronPython and it goes well until I try to use any library in the python script, using this code.
var ipy = Python.CreateRuntime();
dynamic test = ipy.UseFile("C:/Python/Test.py");
var whatever = test.python_string();
MessageBox.Show(whatever);
And Test.py looks like this.
def python_string():
return "Okay"
As soon as I try to add
from moviepy.editor import *
or any other libary import statement to the python code the Visual Studio program won't execute.
I am using Visual Studio 2015 and I set up IronPython exactly as shown on their website. I am guessing I have to add the library to some place in Visual Studio but I have no idea where or how.
Hope I made this clear. Thanks in advance.