pop
pop

Reputation: 31

Getting ModuleNotFoundError: No module named 'importlib.resources'

So I'm working on a project where I should work with Netmiko. I had installed the module using pip3 install netmiko command and it installed successfully. But, when I try to import netmiko module in the python3 console, it throws an error saying "Getting ModuleNotFoundError: No module named 'importlib.resources".

The next step I took was trying to install pip install importlib-resources and still faced the same issue.

Sorry guys I'm a newbie, need some help with this one.

Upvotes: 3

Views: 17786

Answers (1)

user19408892
user19408892

Reputation: 19

You have to change in import in the file reporting the error from importlib.resource to importlib_resources.

I had the same problem and found that solution online, it worked for me.

Upvotes: 1

Related Questions