Article Outline
|| Python仮想環境(pipenv)でJupyter起動
「pipenv」インストール
$ pip install pipenv
任意のディレクトリに任意のフォルダを作成して移動
$ cd dev $ mkdir myproject $ cd myproject
Python3系指定
$ pipenv --python 3
$ pipenv --python 3.6
任意のバージョン指定もできる「JupyterLab」インストール
$ pipenv install jupyterlab
仮想環境起動
$ pipenv shell (myproject)$
JupyterLab起動
(myproject)$ jupyter lab
※ ブラウザーに立ち上がる。 ※ 終了する際は、ブラウザー側のWebUIで終了、もしくは
Ctrl+C
で終了。仮想環境終了
(myproject)$ exit $
|| REFERENCE
- 図解!Jupyter Labを徹底解説!(インストール・使い方・拡張機能) - AI-interのPython3入門
- PythonのPipenvで仮想環境を構築する - medium