Traceback (most recent call last):
File "D:\Pycharm\111\path planning\main_SAC.py", line 7, in
from rl_env.path_env import RlGame
File "D:\Pycharm\111\path planning\rl_env\path_env.py", line 7, in
from assignment import constants as C
ImportError: cannot import name 'constants' from 'assignment' (D:\Pycharm\111\path planning\assignment__init__.py)
博主您好,我运行main_SAC.py会出现下面问题,我在assignment文件下添加init.py文件也不行,请问这个问题改怎么解决呀
Traceback (most recent call last): File "D:\Pycharm\111\path planning\main_SAC.py", line 7, in
from rl_env.path_env import RlGame
File "D:\Pycharm\111\path planning\rl_env\path_env.py", line 7, in
from assignment import constants as C
ImportError: cannot import name 'constants' from 'assignment' (D:\Pycharm\111\path planning\assignment__init__.py)