Python Bug

Python找不到本地导入模块

1.导入本地模块显示找不到所导入的模块
bug所在行:

from myutils import Features

解决:

from .myutils import Features

只加了.(表示当前路径,要不系统找不到)
参考链接:https://blog.csdn.net/qq_35556064/article/details/91348934

猜你喜欢

转载自blog.csdn.net/qq_41968196/article/details/131316213
bug