Nov-28-2020, 07:28 AM
Hello,
I have installed Python 3.9 on windows 10(I also installed Anaconda). after that I installed pip because I wanna install numpy. but when I import numpy, I see error below. Does anyone know what should I do to solve this problem?
Thanks
I have installed Python 3.9 on windows 10(I also installed Anaconda). after that I installed pip because I wanna install numpy. but when I import numpy, I see error below. Does anyone know what should I do to solve this problem?
Thanks

>>> import numpy as np
Error:Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import numpy as np
File "C:\Users\moham\AppData\Local\Programs\Python\Python39\lib\site-packages\numpy\__init__.py", line 305, in <module>
_win_os_check()
File "C:\Users\moham\AppData\Local\Programs\Python\Python39\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\\moham\\AppData\\Local\\Programs\\Python\\Python39\\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
Thanks to all, specially bowlofred.Quote:pip uninstall numpy
then
pip install numpy==1.19.3