I'm trying to import matplotlib in pycharm but getting a runtime error. I've tried to reinstall and trying to run in CMD but still, it doesn't work. Appreciate help here.
How does your Error look? Is it something like this: RuntimeError: The current Numpy installation (...) fails to pass a sanity check due to a bug in the windows runtime. ?
Please don't post images of code/data/error messages. Post the text directly here on SO. See here for an explanation why: idownvotedbecau.se/imageofanexception
import matplotlib Traceback (most recent call last): File "<input>", line 1, in <module> File "C:\Program Files\JetBrains\PyCharm 2020.2.4\plugins\python\helpers\pydev_pydev_bundle\pydev_import_hook.py", line 21, in do_import module = self._system_import(name, *args, **kwargs) File "C:\Users\nisha\PycharmProjects\matplotlib_tut\venv\lib\site-packages\matplotlib_init_.py", line 107, in <module> from . import cbook, rcsetup File "C:\Program Files\JetBrains\PyCharm 2020.2.4\plugins\python\helpers\pydev_pydev_bundle\pydev_import_hook.py", line 21, in do_import
RuntimeError: The current Numpy installation (...) fails to pass a sanity check due to a bug in the windows runtime.?