I got this error trying to install another package: the current Numpy installation fails to pass a sanity check due to a bug in the windows runtime. Ive checked the problem and it seems to occur using the newest version of numpy (1.19.4). I then downgraded and it still didnt work. I then tried a lot of deinstalling, reinstalliung and whatnot until it seems I destroyed my numpy completely. Even the simplest functions do not work anymore. Right now im back to version 1.19.4, but when I try to use it, it says the object is not callable. Example:
import numpy as np
print(np.random(10))
TypeError: 'module' object is not callable
It might be because of permissions? I got these messages while reinstallilng numpy:
"ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Zugriff verweigert: 'C:\Users\...\Anaconda3\Lib\site-packages\~-mpy\.libs\libopenblas.NOIJJG62EMASZI6NYURL6JBKM4EVBGM7.gfortran-win_amd64.dll'
Consider using the --user
option or check the permissions."
"ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Zugriff verweigert: 'C:\Users\...\Anaconda3\Lib\site-packages\~andas\_libs\algos.cp38-win_amd64.pyd'
Consider using the --user
option or check the permissions."
RuntimeError: The current Numpy installation ('C:\Users\...\AppData\Local\Temp\pip-build-env-h9d1jjmf\overlay\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:
I even reinstalled anaconda but I think the oldest numpy just reinstalls itself. Which is the easiest way to reset my numpy completely? (I tried the obvious pip uninstall numpy and pip install numpy...)