# Community Tutorial: Python Install Modules With PIP - Unreal Engine 5 Tutorial

**URL:** <https://forums.unrealengine.com/t/community-tutorial-python-install-modules-with-pip-unreal-engine-5-tutorial/653519>\
**Category:** Tutorial & Course Discussions\
**Tags:** unreal-engine\
**Created:** [September 21, 2022, 5:22pm UTC](https://forums.unrealengine.com/t/community-tutorial-python-install-modules-with-pip-unreal-engine-5-tutorial/653519 "2022-09-21T17:22:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MattLakeTA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mattlaketa/32/470526_2.png) [@MattLakeTA](https://forums.unrealengine.com/u/MattLakeTA)\
**Post date:** [September 21, 2022, 5:22pm UTC](https://forums.unrealengine.com/t/community-tutorial-python-install-modules-with-pip-unreal-engine-5-tutorial/653519/1 "2022-09-21T17:22:17Z")

</div>

A tutorial demonstration on how to install additional Python modules via PIP in Unreal Engine 5.  
  
[https://dev.epicgames.com/community/learning/tutorials/lJly/python-install-modules-with-pip-unreal-engine-5-tutorial](https://dev.epicgames.com/community/learning/tutorials/lJly/python-install-modules-with-pip-unreal-engine-5-tutorial)

---

<div class="post-metadata">

**Author:** ![robeche](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@robeche](https://forums.unrealengine.com/u/robeche)\
**Post date:** [May 31, 2023, 7:48am UTC](https://forums.unrealengine.com/t/community-tutorial-python-install-modules-with-pip-unreal-engine-5-tutorial/653519/2 "2023-05-31T07:48:02Z")

</div>

That’s easy, but what happens if i have another python installation in my computer? how do i tell pip to install python in the unreal location?

kind regards

Roberto

---

<div class="post-metadata">

**Author:** ![gviklund](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gviklund](https://forums.unrealengine.com/u/gviklund)\
**Post date:** [October 24, 2023, 11:05pm UTC](https://forums.unrealengine.com/t/community-tutorial-python-install-modules-with-pip-unreal-engine-5-tutorial/653519/3 "2023-10-24T23:05:05Z")

</div>

Matt, glad to see the video. Do you have an example how to install a Python package with Pip in a specific project? The example you show would work fine for global package installs, but what if a user wanted to install a package only within a specific project.

---

<div class="post-metadata">

**Author:** ![gdun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gdun](https://forums.unrealengine.com/u/gdun)\
**Post date:** [May 22, 2024, 1:52pm UTC](https://forums.unrealengine.com/t/community-tutorial-python-install-modules-with-pip-unreal-engine-5-tutorial/653519/4 "2024-05-22T13:52:42Z")

</div>

And for mac users : [Installing Python packages on Mac?](https://forums.unrealengine.com/t/installing-python-packages-on-mac/588727)

---

<div class="post-metadata">

**Author:** ![amedlin-fpc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@amedlin-fpc](https://forums.unrealengine.com/u/amedlin-fpc)\
**Post date:** [June 3, 2024, 2:54pm UTC](https://forums.unrealengine.com/t/community-tutorial-python-install-modules-with-pip-unreal-engine-5-tutorial/653519/5 "2024-06-03T14:54:41Z")

</div>

This is a very simple Python configuration, but one that from experience doesn’t scale due to inevitable 3rd party module conflicts that arise. The typical way to manage this is with virtual environments. How to I setup a custom venv for my game, and use that instead of the baseline python bundle?

---

<div class="post-metadata">

**Author:** ![scha](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/scha/32/1135430_2.png) [@scha](https://forums.unrealengine.com/u/scha)\
**Post date:** [February 20, 2025, 3:23pm UTC](https://forums.unrealengine.com/t/community-tutorial-python-install-modules-with-pip-unreal-engine-5-tutorial/653519/6 "2025-02-20T15:23:52Z")

</div>

Caution! It works but also it can totally f up your python environment by installing some incompatible versions of some packages - just happened to me.

EDIT: After re installing unreal I used this to install into the project with --target , it works:

```auto
"Path\To\UE_5.5\Engine\Binaries\ThirdParty\Python3\Win64\python.exe" -m pip install --target "C:\Users\XXX\Documents\Unreal Projects\TestNN\Intermediate\PipInstall\Lib\site-packages" "onnx==1.14.1"

```
