Download

can i add new library into plugin?

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?

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

It works! Thank you for your answer.