包导入错误是怎么解决
*我将文件夹名改为了arcaea
D:[Phigros Manage\phisap-main\arcaea>py main.py
Traceback (most recent call last):
File "D:[Phigros Manage\phisap-main\arcaea\main.py", line 3, in
from .chart import Chart
ImportError: attempted relative import with no known parent package
D:[Phigros Manage\phisap-main\arcaea>py chart.py
Traceback (most recent call last):
File "D:[Phigros Manage\phisap-main\arcaea\chart.py", line 3, in
from ..easing import Easing3D
ImportError: attempted relative import with no known parent package
包导入错误是怎么解决 *我将文件夹名改为了arcaea D:[Phigros Manage\phisap-main\arcaea>py main.py Traceback (most recent call last): File "D:[Phigros Manage\phisap-main\arcaea\main.py", line 3, in
from .chart import Chart
ImportError: attempted relative import with no known parent package
D:[Phigros Manage\phisap-main\arcaea>py chart.py Traceback (most recent call last): File "D:[Phigros Manage\phisap-main\arcaea\chart.py", line 3, in
from ..easing import Easing3D
ImportError: attempted relative import with no known parent package