Open gavinzli opened 3 years ago
There is one error shown as below:
Traceback (most recent call last): File "task/zh_get_info.py", line 10, in from ..tools.util import * ImportError: attempted relative import with no known parent package
同问
改为这样就可以了: from tools import util from tools import mydb
There is one error shown as below:
Traceback (most recent call last): File "task/zh_get_info.py", line 10, in
from ..tools.util import *
ImportError: attempted relative import with no known parent package