# can i add new library into plugin?

**URL:** <https://forums.unrealengine.com/t/can-i-add-new-library-into-plugin/156827>\
**Category:** Editor Scripting\
**Tags:** unreal-engine\
**Created:** [January 24, 2021, 1:35pm UTC](https://forums.unrealengine.com/t/can-i-add-new-library-into-plugin/156827 "2021-01-24T13:35:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_35ed7544](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_35ed7544](https://forums.unrealengine.com/u/anonymous_user_35ed7544)\
**Post date:** [January 24, 2021, 1:35pm UTC](https://forums.unrealengine.com/t/can-i-add-new-library-into-plugin/156827/1 "2021-01-24T13:35:02Z")

</div>

I am writing a python script with the python plugin. However, the plugin doesn’t have any three-party library like “nltk”. How can apply the three-party library in UE4.26?

---

<div class="post-metadata">

**Author:** ![NoobNotPro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NoobNotPro](https://forums.unrealengine.com/u/NoobNotPro)\
**Post date:** [January 24, 2021, 10:42pm UTC](https://forums.unrealengine.com/t/can-i-add-new-library-into-plugin/156827/3 "2021-01-24T22:42:27Z")

</div>

set your PC env varibale to UnrealEngine\_4\_26\Engine\Binaries\ThirdParty\Python3\Win64 where ue4 26 has been installed  
so when you type python in cmd it runs the py coming with ue4  
then install pip and update from that directory, copy the pip python file next here and py run it  
then pip install the lib you want  
it will store t into that local folder UnrealEngine\_4\_26\Engine\Binaries\ThirdParty\Python3\Win64\Lib\site-packages

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_35ed7544](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_35ed7544](https://forums.unrealengine.com/u/anonymous_user_35ed7544)\
**Post date:** [January 25, 2021, 5:30am UTC](https://forums.unrealengine.com/t/can-i-add-new-library-into-plugin/156827/4 "2021-01-25T05:30:15Z")

</div>

It works! Thank you for your answer.

---

<div class="post-metadata">

**Author:** ![fANNyCOttero](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fANNyCOttero](https://forums.unrealengine.com/u/fANNyCOttero)\
**Post date:** [September 8, 2023, 1:03pm UTC](https://forums.unrealengine.com/t/can-i-add-new-library-into-plugin/156827/5 "2023-09-08T13:03:11Z")

</div>

Do you know how to do it with a personal python environment (not the default Unreal Engine environment)?  
I’m using Unreal 5.2

Thanks in advance anyway
