tfmodel
tfmodel copied to clipboard
No module named 'utils'
hello, tobe,
while the tfmodel was installed successed using pip, the tfmodel command cannot be executed, the error infomation is:
Traceback (most recent call last):
File "c:\users###\appdata\local\continuum\anaconda3\envs\tfmodel\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\users###\appdata\local\continuum\anaconda3\envs\tfmodel\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users###\AppData\Local\Continuum\anaconda3\envs\tfmodel\Scripts\tfmodel.exe_main.py", line 5, in
It seems to be the issue about compatibility of Python 3. We will test and try to fix that soon.
https://github.com/tobegit3hub/tfmodel/blob/b57a3b765ff697bb767a5af54d1a33e9b2f56781/tfmodel/savedmodel_analyst.py#L8
edit above line to
- from utils import ModelUtil
+ from .utils import ModelUtil