No module named 'scipy.sparse' code example Example: ModuleNotFoundError: No module named 'scipy.sparse._sparsetools' pip uninstall scipy pip install scipy