参考博客链接
安装 pymatgen 失败,报一堆红。
pip install pymatgen==2020.8.13
定位问题
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/
ERROR: Failed building wheel for spglib
安装网站对应的C++插件即可。
即打开 链接
下载生成工具并安装
安装成功后,打开勾选C++生成工具 后点击安装。
安装成功后重启即可。
重启后重新执行
pip install pymatgen==2020.8.13