Stumbling Toward 'Awesomeness'

A Technical Art Blog

Tuesday, March 20, 2018

Python Ships in Unreal Engine 4.19

ADDING THE PLUGIN

For anyone with version 4.19 of the engine or later, you now have access to Python. It’s marked ‘experimental’, enable it under plugins:

You then can enter python through the command line:

As the Python implementation wraps blueprint and blutilities, you only have access to things exposed through blueprint.

INSTALLING THIRD PARTY LIBRARIES

The team has made it a lot easier to install 3rd party libraries by shipping with pip.exe, it’s in this folder: <build>\Engine\Source\ThirdParty\Python\Win64\Scripts

Here’s an example of installing PySide into the build:

&gt;&gt;pip install --target=Y:\Build\UE_4.19\Engine\Source\ThirdParty\Python\Win64\Lib\site-packages Pyside
Collecting Pyside
  Using cached PySide-1.2.4-cp27-none-win_amd64.whl
Installing collected packages: Pyside
Successfully installed Pyside-1.2.4
posted by Chris at 10:15 AM  

1 Comment »

  1. […] This requires PySide, you can pip install that, I gave an example in my previous post, here. […]

    Pingback by Stumbling Toward 'Awesomeness'ScriptWrangler: A light-weight script editor for Python environments - Stumbling Toward 'Awesomeness' — 2018/04/03 @ 2:29 PM

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress