Skip to content

Dev Notes Linux

Xavier Loux edited this page Jun 9, 2026 · 1 revision

Setup

Create environment for linux

mkdir -p ~/venvs
python3 -m venv ~/venvs/blender_for_unrealengine
source ~/venvs/blender_for_unrealengine/bin/activate

Install fake bpy module (Blender API)

pip install --upgrade pip
pip install fake-bpy-module-latest
pip install --upgrade fake-bpy-module-latest

Install Unreal Engine Python API

  • Open Unreal Engine
  • Edit → Project Settings → Plugins → Python
  • Enable Developer Mode in Python -> Advanced
  • Restart Unreal Engine (This will generate the Python API stubs in <UnrealProjectPath>/Intermediate/PythonStub/unreal.py)
  • Copy the generated stubs from <UnrealProjectPath>/Intermediate/PythonStub/unreal.py to ~/venvs/blender_for_unrealengine/Lib/site-packages

Set VSode Python interpreter

In VSCode, press Ctrl+Shift+P, then select Python: Select Interpreter, and choose the interpreter located at ~/venvs/blender_for_unrealengine/bin/python.

Best Practices

Clone this wiki locally