[Tutor] python 3.8 matplot lib issue
Paul Simon
psimon at sonic.net
Wed Nov 11 00:26:09 EST 2020
I have written a python script using matplotlib and have gotten this error:
Traceback (most recent call last):
File "C:\Users\paulsimon\Desktop\sborn2.py", line 29, in <module>
import seaborn as sns
File
"C:\Users\paulsimon\AppData\Local\Programs\Python\Python38\lib\site-packages\seaborn\__init__.py",
line 2, in <module>
from .rcmod import * # noqa: F401,F403
File
"C:\Users\paulsimon\AppData\Local\Programs\Python\Python38\lib\site-packages\seaborn\rcmod.py",
line 5, in <module>
import matplotlib as mpl
File
"C:\Users\paulsimon\AppData\Local\Programs\Python\Python38\lib\site-packages\matplotlib\__init__.py",
line 107, in <module>
from . import cbook, rcsetup
File
"C:\Users\paulsimon\AppData\Local\Programs\Python\Python38\lib\site-packages\matplotlib\cbook\__init__.py",
line 28, in <module>
import numpy as np
File
"C:\Users\paulsimon\AppData\Local\Programs\Python\Python38\lib\site-packages\numpy\__init__.py",
line 305, in <module>
_win_os_check()
File
"C:\Users\paulsimon\AppData\Local\Programs\Python\Python38\lib\site-packages\numpy\__init__.py",
line 302, in _win_os_check
raise RuntimeError(msg.format(__file__)) from None
RuntimeError: The current Numpy installation
('C:\\Users\\paulsimon\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\numpy\\__init__.py')
fails to pass a sanity check due to a bug in the windows runtime. See
this issue for more information: https://tinyurl.com/y3dm3h86
I would like some help if anyone has had this problem and solved it.
Paul Simon
More information about the Tutor
mailing list