pfk-beta opened a new issue #10167:
URL: https://github.com/apache/tvm/issues/10167


   Hello (first of all, thanks for very valuable tvm software),
   
   After compiling runtime, and runing tuning command I've got error message 
that tclpack should be installed via pip. I have solved problem by installing 
Pytest. But after little digging I have found endpoint where problem occurs, so 
I've pasted traceback:
   
   ```python
   Traceback (most recent call last):
     File "/tvm/python/tvm/driver/tvmc/frontends.py", line 82, in lazy_import
       return importlib.import_module(pkg_name, package=from_pkg_name)
     File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
       return _bootstrap._gcd_import(name[level:], package, level)
     File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
     File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
     File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
     File "<frozen importlib._bootstrap>", line 228, in 
_call_with_frames_removed
     File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
     File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
     File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
     File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
     File "<frozen importlib._bootstrap_external>", line 850, in exec_module
     File "<frozen importlib._bootstrap>", line 228, in 
_call_with_frames_removed
     File "/tvm/python/tvm/relay/testing/__init__.py", line 28, in <module>
       from tvm.testing import enabled_targets
     File "/tvm/python/tvm/testing/__init__.py", line 21, in <module>
       from .utils import *
     File "/tvm/python/tvm/testing/utils.py", line 74, in <module>
       import pytest
   ModuleNotFoundError: No module named 'pytest'
   
   The above exception was the direct cause of the following exception:
   
   Traceback (most recent call last):
     File "/tvm/python/tvm/driver/tvmc/main.py", line 93, in _main
       return args.func(args)
     File "/tvm/python/tvm/driver/tvmc/autotuner.py", line 236, in drive_tune
       tvmc_model = frontends.load_model(args.FILE, args.model_format, 
shape_dict=args.input_shapes)
     File "/tvm/python/tvm/driver/tvmc/frontends.py", line 396, in load_model
       mod, params = frontend.load(path, shape_dict, **kwargs)
     File "/tvm/python/tvm/driver/tvmc/frontends.py", line 182, in load
       tf_testing = lazy_import("tvm.relay.testing.tf")
     File "/tvm/python/tvm/driver/tvmc/frontends.py", line 84, in lazy_import
       raise TVMCImportError(pkg_name) from error
   tvm.driver.tvmc.TVMCImportError: tvm.relay.testing.tf
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
       return _run_code(code, main_globals, None,
     File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
       exec(code, run_globals)
     File "/tvm/python/tvm/driver/tvmc/__main__.py", line 24, in <module>
       tvmc.main.main()
     File "/tvm/python/tvm/driver/tvmc/main.py", line 107, in main
       sys.exit(_main(sys.argv[1:]))
     File "/tvm/python/tvm/driver/tvmc/main.py", line 96, in _main
       traceback.print_tb()
   TypeError: print_tb() missing 1 required positional argument: 'tb'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to