I completely uninstalled the NumPy package from my computer. Afterward, I attempted several NumPy functions, and as expected, they all produced errors.
Interestingly, though, the import statement doesn't produce an error.
How come I do not get "ModuleNotFoundError" when I attempt to import NumPy in this situation?
Just checked the paths, appears homebrew doesn't fully uninstall NumPy. It leaves a few remnant folders named "numpy", which appears to be causing this.
1.4m articles
1.4m replys
5 comments
57.0k users