Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in loading the Plugin "UnrealEnginePython" because the module "UnderalEnginePython"could not be found. #219

Open
GustavoPeredo opened this issue Aug 27, 2017 · 12 comments

Comments

@GustavoPeredo
Copy link

GustavoPeredo commented Aug 27, 2017

Every time I open the Unreal Engine this error message appear and I still want to use the plugin.
Im using the UnrealEnginePython_20170808_4_17_python27_win64.zip version.
I've python 27 Insalled.
HELP! PLEASE!

@rdeioris
Copy link
Contributor

rdeioris commented Aug 28, 2017

Hi, ensure you have 64bit python2 version and that it is in the system PATH. Eventually try and embedded version with python3

@ayy1337
Copy link

ayy1337 commented May 29, 2018

Hi I'm actually getting this problem as well, on linux..

@SysOverdrive
Copy link

I also encounter a simillar problem on win64 with the embedded version 3.6.

My error is as such : Could not find definition for module 'UnrealEnginePython' (referenced via default plugins -> UnrealEnginePython.uplugin)

@rdeioris
Copy link
Contributor

@SysOverdrive is this an official editor distribution or a custom compiled one ?

@SysOverdrive
Copy link

Hi @rdeioris

it was the UnrealEnginePython_20180907_4_20_python36_embedded_win64.zip from the releases pages available in the instructions.

@idkw
Copy link

idkw commented Sep 19, 2018

Same issue with on Windows :
UnrealEnginePython_20180907_4_20_python37_win64

C:\Users\idkw>python -V -V
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)]

With the embedded version, the engine manages to start but the plugin doesn't show up in the plugins list.

@rdeioris
Copy link
Contributor

You are using a 32bit python :)

@idkw
Copy link

idkw commented Sep 19, 2018

Great, works now with Python 64 bit installed, thank you

@akkerd
Copy link

akkerd commented Feb 18, 2019

Any news from the ones who where using the embedded version for 3.6?

I tried with both UnrealEnginePython_20181128_4_21_python36_embedded_win64 and UnrealEnginePython_20181128_4_21_python37_win64.

Both give me the same error when compiling from both the editor and VS:

Using Visual Studio 2017 14.16.27023 toolchain (D:\Programs\VisualStuidoBuildTools\VC\Tools\MSVC\14.16.27023) and Windows 10.0.17763.0 SDK (C:\Program Files (x86)\Windows Kits\10).
  
ERROR: Could not find definition for module 'UnrealEnginePython' (referenced via default plugins -> UnrealEnginePython.uplugin)

@akkerd
Copy link

akkerd commented Feb 20, 2019

Okay, after struggling to find a solution for 2 days, I tried compiling from the source and it worked. I am using python 3.7 installed on my machine and UE4 version 4.21.

If someone is having the same issues, try following the steps described here:
Installation from sources on Windows (64 bit)

And always compile from VS with UE4 editor closed for the first time!

@RonYanDaik
Copy link

Got same problem. Turns out that there is predefined list of path where compiler looks for python.

private string[] windowsKnownPaths =
{
// "C:/Program Files/Python37",
"C:/Program Files/Python36",
"C:/Program Files/Python35",
"C:/Python27",
"C:/IntelPython35"
};

Its in the Plugins/UnrealEnginePython/Source/UnrealEnginePython/UnrealEnginePython.Build.cs

Add there your path to python. For some reason its not mentioned in the How-to-install tutorial. I guess it happens sometimes.

@iamchriswick
Copy link

Python37 autyomaticly installs to "C:/Users/chris/AppData/Local/Programs/Python/Python37", so added this to the file mention above but I still get the error...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants