先人に感謝.
Python の URL: http://www.python.org/
インストール手順の詳細は: 別ページで説明している.
コマンドプロンプトを管理者として実行し,次のコマンドを実行.
python -m pip install -U pip setuptools python -m pip install -U jupyterlab jupyter jupyter-console jupytext nteract_on_jupyter spyder
システム Python を使用(インストール操作は不要)
端末で,次のコマンドを実行.
sudo apt -y install python3-dev python3-pip python3-setuptools python3-venv sudo pip3 uninstall ptyprocess sniffio terminado tornado jupyterlab jupyter jupyter-console jupytext nteract_on_jupyter spyder sudo apt -y install jupyter jupyter-qtconsole spyder3 sudo apt -y install python3-ptyprocess python3-sniffio python3-terminado python3-tornado sudo pip3 install -U jupyterlab nteract_on_jupyter
sudo apt -y install git
※ 以下,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()