When placing IronPython in code, you need to add libraries to your path. Not all will be enabled by default.
You can add it through the engine:
var engine = Python.CreateEngine(); var paths = engine.GetSearchPaths(); paths.Add(@"C:\Program Files (x86)\IronPython 2.7\Lib");
Or through a script:
import sys sys.path.append(r'C:\Program Files (x86)\IronPython 2.7\Lib') import os
source share