我正在尝试将一些.py文件导入另一个.py文件。这很简单,但我收到一个关于它无法导入任何内容的错误。
这是我的错误:
IronPython.Runtime.Exceptions.ImportException: No module named Abilities.Abstracts.AbstractAbility
at Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow (System.Object value) [0x00000] in <filename unknown>:0
at Microsoft.Scripting.Interpreter.FuncCallInstruction2[System.Object,System.Object].Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
这是有问题的代码:
from Abilities.Abstracts.AbstractAbility import AbstractAbility