Error in the first line of the Python (Maya 2022) script. (# Error: SyntaxError: file <maya console> line 1: invalid syntax)

Viewed 15

The script for Autodesk Maya 2022 does not work because of an error. I didn't get to the script because I can't import the script. Two lines:

import ymd_enhancedPlayblast
ymd_enhancedPlayblast.main()

On the first line there is an error

Error: SyntaxError: file line 1: invalid syntax

I retyped the line from the documentation, didn't help. I don't have time to dive into Python, I need to occasionally run a finished script. Who can help me?

0 Answers
Related