安装 mingw libpython 失败,keras失败

小白学习tensorflow和keras第一次安装就失败了,问题在于mingw libpython 失败,首先感谢我参考的keras安装博客https://blog.csdn.net/qq_39312146/article/details/125127307,按照大佬的教程出现了上述问题,就自己琢磨下就成功了

解决办法如下

清除缓存

conda clean --lock

安装清华源

 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  conda config --set show_channel_urls yes

安装mingw libpython

 conda install mingw libpython  

卸载protobuf ,安装低版本<3.20.0

pip uninstall protobuf
pip install protobuf==3.19.0

就了

你可能感兴趣的:(keras)