You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,17 @@ In the development menu, you get access to the 'PythonConsole' too, you can use
17
17
18
18
All of the exposed engine features are under the 'unreal_engine' virtual module (it is completely coded in c into the plugin, so do not expect to run 'import unreal_engine' from a standard python shell)
19
19
20
-
# Installation on Windows (64 bit)
20
+
# Binary installation on Windows (64 bit)
21
+
22
+
Check in the releases page (https://github.com/20tab/UnrealEnginePython/releases) if there is a binary version that matches your configuration (otherwise open an issue assking us for it) and download it.
23
+
24
+
Create (if it does not already exist) a Plugins directory in your project root directory (at the same level of Content/ and the .uproject file) and unzip the plugin into it. If your project is named FooBar you will end with FooBar/Plugins/UnrealEnginePython.
25
+
26
+
Open your project and go to the Edit/Plugins menu. Go to the bottom and under "Project/Scripting Languages" enable UnrealEnginePython.
27
+
28
+
Restart your project and you should see the PythonConsole under the "Window/Developer Tools" menu
29
+
30
+
# Installation from sources on Windows (64 bit)
21
31
22
32
The installation is pretty long (and boring) as you do not want the final users of the product to be required to install python, so we need to use the 'embedded python distribution' (available for windows in the official python site). Unfortunately the embedded distribution does not contain the python development headers so we need the official system-wide installation too.
23
33
@@ -45,7 +55,7 @@ If all goes well, open the output log and search for the string "Python". You sh
45
55
46
56
To use python 2, follow the same approach but with a python27 directory (instead of python35) and change the pythonHome variable in /Source/UnrealEnginePython/UnrealEnginePython.Build.cs to "python27"
47
57
48
-
# Installation on MacOSX
58
+
# Installation from sources on MacOSX
49
59
50
60
On the Mac the installation is easier, as the final user is currently forced to install python on its system (there are obviously dozens of workarounds but at this stage of the project we prefer focusing on the api).
* restart the editor and a popup should appear asking your for confirmation of the build of the plugin.
86
96
* Once the plugin is built, go to the output log console and filter for 'Python'. You should see the Python VM banner.
87
97
88
-
Installation On Linux (64 bit)
89
-
------------------------------
98
+
Installation from sources On Linux (64 bit)
99
+
-------------------------------------------
90
100
91
101
Currently the suggested distribution is Ubuntu Xenial (LTS 16.04) 64bit. Obviously you need to already have an Unreal Engine build (note that on ubuntu xenial you need to install the clang-3.5 package to build the editor). Both python2.7 and python3.5 are supported and the default configuration assumes python3 (so ensure to install the python3-dev package).
0 commit comments