word2vector是Google开源项目主要是做词向量,理论上语料越大越好.python3在安装过程中出现一些问题.再次记录一下我将python安装源改成了清华大学的,创建如下目录:C:\Users\tk\pip,并在该文件夹下新建:pip.ini内容为:
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
首先下载Rtools(https://cran.r-project.org/bin/windows/Rtools/),因为需要GCC编译,所以安装,安装过程记得把添加PATH的勾选上
执行打开Anaconda执行
pip install word2vec
安装过程报错如下如:
Failed building wheel for word2vec
Running setup.py clean for word2vec
Failed to build word2vec
Installing collected packages: word2vec
Running setup.py install for word2vec ... error
Complete output from command C:\Users\tk\Anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\tk\\AppData\\Local\\Temp\\pip-install-kp9dm2wz\\word2vec\\setup.py