Closed ontheway16 closed 3 years ago
You may change options.py file from ' try: sys.path.append("../../") from utils import OrderedYaml except ImportError: pass '
to
' sys.path.append("../../") from utils import OrderedYaml ' You will get more details about error in this way, such as some packages are not installed.
I have the same issue. Im my case, after importing it without try-catch, I'm getting ImportError: cannot import name 'OrderedYaml' from 'utils' (C:\Users\ag\Miniconda3\envs\tf\lib\site-packages\utils__init__.py).
Looks like wrong utils was used.
Changed
sys.path.append("../../")
from utils import OrderedYaml
To
sys.path.append("../../utils")
from file_utils import OrderedYaml
I am having the following error;