[PYTHON] Word2vec environment construction

At the beginning

This article was written by a weak man who didn't even know that he could install by specifying the version with pip. Please be careful.

The environment construction of python did not go well

I have two servers running and I wanted to build the other python environment (mainly word2vec) for one environment, but it doesn't work. Example) pip install doesn't work, I get UnicodeEncodeError when trying to read vector space

Apparently gensim and word2vec didn't go well together.

Specify version with pip

When I specified the version with pip, it was one shot.

Former server


pip list | grep word2vec #Check version
pip list | grep gensim

The meshing environment was word2vec (0.5.1) and gensim (0.10.1), so align them.

Server that wants to prepare a new environment


pip install gensim==0.10.1
pip install word2vec==0.5.1

Recommended Posts

Word2vec environment construction
DeepIE3D environment construction
Emacs-based environment construction
Linux environment construction
Python environment construction
Environment construction (python)
django environment construction
CodeIgniter environment construction
python environment construction
Python --Environment construction
Python environment construction
Golang environment construction
python environment construction
Environment construction: GCP + Docker
Django project environment construction
python windows environment construction
ConoHa environment construction memo
PyData related environment construction
Python development environment construction
python2.7 development environment construction
grip environment construction onCentOS6.5
Anaconda environment construction memo
Golang environment construction [goenv]
Mac environment construction Python
Python environment construction @ Win7
[Ubuntu 18.04] Tensorflow 2.0.0-GPU environment construction
Python + Anaconda + Pycharm environment construction
About Linux environment construction (CentOS)
PyTorch C ++ (LibTorch) environment construction
Anaconda environment construction on CentOS7
Django development environment construction memo
First LAMP environment construction (Linux)
Python environment construction (Windows10 + Emacs)
Environment
CI environment construction ~ Python edition ~
[Memo] Construction of cygwin environment
ML environment construction with Miniconda
Python environment construction For Mac
Anaconda3 python environment construction procedure
Docker + Django + React environment construction
Anaconda3 × Pycharm environment construction memo
Python environment construction and TensorFlow
NumPy and matplotlib environment construction
Machine learning environment construction macbook 2021
Python environment construction under Windows7 environment
word2vec
[MEMO] [Development environment construction] Python
Ubuntu14.04 + GPU + TensorFlow environment construction
[Tensorflow] Tensorflow environment construction on Windows 10
Environment construction, Build -Go edition-
django project development environment construction
Linux environment construction (on WSL environment)
Environment construction of python2 & 3 (OSX)
[MEMO] [Development environment construction] wine
Ansible environment construction For Mac
DL Laravel environment construction method (Linux)
Mac + Eclipse (PyDev) + Django environment construction
Python environment construction memo on Windows 10
Get started with Python! ~ ① Environment construction ~
Anaconda python environment construction on Windows 10
Python + Unity Reinforcement learning environment construction