最近换了一台电脑去配置python以及tensorflow的各种环境,不得不说手动配置真是麻烦啊,代码当中各种版本不兼容报库bug。
之前写代码库函数报如下的错误:
**The current Numpy installation fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com.
**
其实这是下的python包不兼容的问题,主要是numpy的版本问题造成的,此时需要将numpy的版本往下降一点:
pip install numpy==1.19.3