0

how to resolve this numpy problem ? in[1]: import numpy as np

--------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) <ipython-input-1-0aa0b027fcb6> in <module> ----> 1 import numpy as np ~\anaconda3\lib\site-packages\numpy\__init__.py in <module> 303 304 if sys.platform == "win32" and sys.maxsize > 2**32: --> 305 _win_os_check() 306 307 del _win_os_check ~\anaconda3\lib\site-packages\numpy\__init__.py in _win_os_check() 300 "See this issue for more information: " 301 "https://tinyurl.com/y3dm3h86") --> 302 raise RuntimeError(msg.format(__file__)) from None 303 304 if sys.platform == "win32" and sys.maxsize > 2**32: RuntimeError: The current Numpy installation ('C:\\Users\\scott\\anaconda3\\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

14th Dec 2020, 9:20 AM
Renuka Chhalotre
Renuka Chhalotre - avatar
3 Antworten
+ 1
@slick I went through the links, they were facing the similar problem because of the latest version of numpy I installed 1.19.3 version of python which resolved the problem. Thanks for guiding me to go through the link once again carefully. I used following command to install specific version of numpy:- pip install 'numpy==1.19.3'
14th Dec 2020, 9:47 AM
Renuka Chhalotre
Renuka Chhalotre - avatar
+ 1
This is a bug on their end on your operating system. Did you try the links?
14th Dec 2020, 9:25 AM
Slick
Slick - avatar
0
Okay what do they say? Your error straight up says: "The current Numpy... fails... due to a bug in the windows runtime"
14th Dec 2020, 9:52 AM
Slick
Slick - avatar