安装步骤

方法1

使用pip安装

pip install featurebox

备注

如果windows平台需要vc++,请从 Python扩展包网站 下载相关包并离线安装。如 Spglib 等。然后重复上述步骤,或者使用手动方法安装(参考方法2)。

方法2

要求

依赖包

名字

版本号

要求

sympy

>=1.6

要求

deap

>=1.3.1

要求

scikit-learn

>=0.22.1

要求

torch

>=1.5.0

要求

ase

要求

pymatgen

建议

scikit-image

建议

minepy

建议

torch_geometric

手动安装

  1. sympy

    pip install sympy>=1.6
    

Reference: https://www.sympy.org/en/index.html

  1. deap

    pip install deap
    

Reference: https://github.com/DEAP/deap

  1. pymatgen

    conda install --channel conda-forge pymatgen
    

Reference: https://github.com/materialsproject/pymatgen

备注

如果 Spblib 需要用vc++编译,请下载 Python扩展包 ,并在本地安装。

例如:

pip install /your/local/path/spglib-1.16.1-cp38-cp38-win_amd64.whl
  1. scikit-learn

    conda install sklearn
    

Reference: https://github.com/materialsproject/pymatgen

  1. mgetool:

    pip install mgetool
    

Reference: https://github.com/Mgedata/mgetool

  1. featurebox:

    pip install featurebox
    
  2. ase:

    pip install ase
    

Reference: https://wiki.fysik.dtu.dk/ase/ , 非必须, 仅使用于 神经网络。