尝试将我的一个脚本导入 Maya 的内存时,我的 python 代码出现错误。
这是代码:
import solar_system as ss
import pymel.core as pm
import random
我收到了这个错误:
# Error: unindent does not match any outer indentation level
# Traceback (most recent call last):
# File "<maya console>", line 1, in <module>
# File "C:/Users/Owner/Documents/maya/2012-x64/prefs/scripts\solar_system.py", line 66
# '''
#
# ^
# IndentationError: unindent does not match any outer indentation level #
那么,出于某种原因,它甚至希望 import solar_system 作为 ss 缩进?我真的不明白它要我做什么。有什么帮助吗?请?