mutiple camera rendering script code error
Cannot run bpy.ops.text.run_script() from the console.
Operators prefixed bpy.ops.text. are designed to run in the context of the text editor. (eg press the run script button in the text editor)  In which case the script to run is the one that you are looking at and is assigned to that areas space data
&gt;&gt;&gt; C.screen.areas[3].type
'TEXT_EDITOR'

&gt;&gt;&gt; C.screen.areas[3].spaces.active.text
bpy.data.texts['Text.001']

Hence when translated to english the error you are seeing is
&gt;&gt;&gt; bpy.ops.text.run_script(
run_script()
bpy.ops.text.run_script()
Run active script
&gt;&gt;&gt; bpy.ops.text.run_script()
Traceback (most recent call last):
  File &quot;&lt;blender_console&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/home/batfinger/blender-git/xxx/bin/2.91/scripts/modules/bpy/ops.py&quot;, line 202, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.text.run_script.poll() failed, context is incorrect

https://blender.stackexchange.com/search?tab=votes&amp;q=%5bpython%5d%20incorrect%20context
Run the script from the text editor, or paste it into python console to run from console. [Note to self. Find link for run script in console addon]