[model] Transformer

sentencepiece 报错 与python 3.13不兼容 https://github.com/google/sentencepiece/issues/1083 遇到过几次这个问题,每次安装transformer都会提示sentencepiece没有安装,然后pip install sentencepiece安装报错,最后发现是与新版的python

sentencepiece 报错 与python 3.13不兼容

https://github.com/google/sentencepiece/issues/1083

遇到过几次这个问题,每次安装transformer都会提示sentencepiece没有安装,然后pip install sentencepiece安装报错,最后发现是与新版的python 3.13不兼容,然后每次又要重新setup python version

可以用3.11或者3.12

https://www.python.org/downloads/release/python-3128/

这里我是windows 64bits,下载后安装即可。然后打开vscode,create new env