LoginSignup
12
15

More than 5 years have passed since last update.

venv 上で jupyter notebookを使う

Posted at

よく使うのでメモ
venv上でインストールしたモジュールも、jupyter上で使えるようになります。

環境

Python3.3 以降
MacOS 10.13.5

venv

# venvの作成
python3 -m venv venv36

# venvのActivation
source venv36/bin/activate

# pip のアップグレード
pip install --upgrade pip

#jupyter notebook のインストール
pip install jupyter

jupyter notebook上でカーネルを選択するために必要なライブラリのインストール(Optional)

pip install tornado==4.5.3
pip install ipykernel==4.8.2

jupyterの起動

jupyter notebook
12
15
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
15