Windows安装sentencepiece报错: python setup.py egg_info did not run successfully

在pip install sentencepiece报错:

 python setup.py egg_info did not run successfully

解决办法:setuptools

更新库

pip install --upgrade setuptools

若还报错:

Update the VERSION argument value.  Or, use the ... syntax
        to tell CMake that the project requires at least but has been updated
        to work with policies introduced by or earlier.

安装cmake

pip install cmake

你可能感兴趣的:(python,开发语言)