I am using Python 3.7 on my raspberry pi3, I got an error that my module importlib doesn't have util, could you tell me how resolve this problem?
If I do:
pi@raspberrypi:~ $ python3
>>> import importlib
>>> dir(importlib)
I get :
['_RELOADING', '__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__import__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '_bootstrap', '_bootstrap_external', '_imp', '_r_long', '_w_long', 'find_loader', 'import_module', 'invalidate_caches', 'reload', 'sys', 'types', 'warnings']
So :
>>> importlib.util
returns:
Traceback (most recent call last): File "", line 1, in AttributeError: module 'importlib' has no attribute 'util'
I tried with Python 3.8 but I got the same results Thank you in advance