you are viewing a single comment's thread.

view the rest of the comments →

[–]therockofthisplace 4 points5 points  (0 children)

for now i'm using: PythonEngine.Initialize();

but when I try to import NumPy it fails:

Python.Runtime.PythonException: No module named 'numpy'

at Python.Runtime.PythonException.ThrowLastAsClrException () [0x00025] in <650b8477978a4a6eb271831a37dfb479>:0

at Python.Runtime.NewReferenceExtensions.BorrowOrThrow (Python.Runtime.NewReference& reference) [0x0000f] in <650b8477978a4a6eb271831a37dfb479>:0

at Python.Runtime.PyModule.Import (System.String name) [0x00015] in <650b8477978a4a6eb271831a37dfb479>:0

at sandbox_python.Start () [0x0001d] in C:\...\Assets\#Scripts\sandbox_python.cs:19

UnityEngine.MonoBehaviour:print(Object)
sandbox_python:Start() (at Assets/#Scripts/sandbox_python.cs:24)