20tab / UnrealEnginePython

Embed Python in Unreal Engine 4
MIT License
2.75k stars 746 forks source link

Unable to instantiate module 'UnrealEnginePython': System.Exception: Unable to find Python installation #771

Closed Mukudori closed 5 years ago

Mukudori commented 5 years ago

I installed anaconda 3 with python 3.6.0. Added it to the system variable Path.

Download ZIP in here https://github.com/20tab/UnrealEnginePython Unzip to my folder :(F:\UE_4.20\Engine\Plugins)

And then I download UnrealEnginePython_20190508_4_20_python36_win64.zip from https://github.com/20tab/UnrealEnginePython/releases

I overlay the second zip to the first zip folder, and got an error: "Unable to instantiate module 'UnrealEnginePython': System.Exception: Unable to find Python installation".

I tried installing python from the site python.org (Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)]) and that hasn’t changed anything.

What am I doing wrong?

Mukudori commented 5 years ago

I solved this problem. The compiler does not see my system python interpreter. The solution was to copy all the python files to a folder /UnrealEnginePython/Binaries/Win64/