Solved: "No module named 'packaging'"
Samhayne opened this issue · 0 comments
Samhayne commented
D:\dependencies>python -m vsrife
Traceback (most recent call last):
File "<frozen runpy>", line 189, in _run_module_as_main
File "<frozen runpy>", line 148, in _get_module_details
File "<frozen runpy>", line 112, in _get_module_details
File "D:\Python\Python311\Lib\site-packages\vsrife\__init__.py", line 12, in <module>
from torch_tensorrt.fx import LowerSetting
File "D:\Python\Python311\Lib\site-packages\torch_tensorrt\fx\__init__.py", line 1, in <module>
from .converters import * # noqa: F403 F401
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python\Python311\Lib\site-packages\torch_tensorrt\fx\converters\__init__.py", line 5, in <module>
from .adaptive_avgpool import * # noqa: F401 F403
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python\Python311\Lib\site-packages\torch_tensorrt\fx\converters\adaptive_avgpool.py", line 7, in <module>
from .converter_utils import extend_mod_attr_to_tuple, mark_as_int8_layer
File "D:\Python\Python311\Lib\site-packages\torch_tensorrt\fx\converters\converter_utils.py", line 23, in <module>
from ..utils import torch_dtype_from_trt
File "D:\Python\Python311\Lib\site-packages\torch_tensorrt\fx\utils.py", line 3, in <module>
from packaging import version
ModuleNotFoundError: No module named 'packaging'
Error will go away after:
pip install packaging