Download

pythonscriptCommandlet looked like a commandlet, but we could not find the class.

I am Using Unreal 4.21

i use this method ,but get the error :
C:\Program Files\Epic Games\UE_4.21\Engine\Binaries\Win64>UE4Editor-Cmd.exe -run=pythonscript -script=“C:\workspace est.py”
[2019.03.29-14.50.40:571] 0]LogInit: Error: pythonscriptCommandlet looked like a commandlet, but we could not find the class. [2019.03.29-14.50.40:571] 0]LogInit: Error: pythonscriptCommandlet looked like a commandlet, but we could not find the class. [2019.03.29-14.50.40:573] 0]LogExit: Preparing to exit. C:\workspace est.py is :

print ‘helloworld’

You need to set the PythonScript “EnableByDefault” property to true.

More info here: