先人に感謝.
Ubuntu で,システム Python 以外の Python をインストールしたい場合は pyenv が便利である: 別ページで説明している.
Python の公式ページ: http://www.python.org/
Python は,次のコマンドで起動できる.
システム Python を用いるときは,pip, setuptools の更新は次のコマンドで行う.
sudo apt -y update sudo apt -y install python3-pip python3-setuptools
pip は,次のコマンドで起動できる.
Python 開発環境である Jupyter Qt Console, Jupyter ノートブック (Jupyter Notebook), Jupyter Lab, Nteract, spyder のインストールは, コマンドプロンプトを管理者として実行し, 次のコマンドを実行.
python -m pip install -U pip setuptools jupyterlab jupyter jupyter-console jupytext nteract_on_jupyter spyder
詳しくは,: 別ページで説明している.
Python 開発環境である Jupyter Qt Console, Jupyter ノートブック (Jupyter Notebook), Jupyter Lab, Nteract, spyder のインストール: : 別ページで説明している.
Git の URL: https://git-scm.com/
※ 以下,Windows での手順を示す.Ubuntu でも同様の手順になる.
cd c:\pytools rmdir /s /q Document2Vec
git clone https://github.com/cemoody/Document2Vec
cd c:\pytools cd Document2Vec python setup.py install
新しくコマンドプロンプトを開き, 次のコマンドを順に実行.エラーメッセージが出なければ成功.
ipython import document2vec exit()