'error while running packages : imp changed to importlib

Error:

importlib.find_module('numpy')
AttributeError: module 'importlib' has no attribute 'find_module'

Any help on what needs to be changed in importlib.find_module('numpy')?



Solution 1:[1]

Please try to simply use import numpy or import numpy as np

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mohsin Bukhari