inference-tools icon indicating copy to clipboard operation
inference-tools copied to clipboard

Got this error ModuleNotFoundError: No module named 'inference.models'

Open rizkiduwinanto opened this issue 2 years ago • 1 comments

I got this error ModuleNotFoundError: No module named 'inference.models', how do you fix it?

rizkiduwinanto avatar Nov 29 '23 10:11 rizkiduwinanto

Hi @rizkiduwinanto,

The error is correct - inference-tools doesn't have a models module, so I would guess in your code you have an import line which looks like

from inference.models import [something]

Which will be causing the problem.

Could you post some additional information, like the full Traceback of the error? Also, which version of inference-tools do you have installed?

Thanks

C-bowman avatar Nov 29 '23 10:11 C-bowman