3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Pipenv + Hydrogen (atom)

Last updated at Posted at 2018-12-15

プロジェクト名はpython-playgroundにする.

mkdir python-playground
cd python-playground/
pipenv --python 3.6 # お好みで
pipenv install jupyter ipykernel # jupyterは必要なのだろうか?
pipenv run python -m ipykernel install --user --name python-playground

atomを開いてHydrogenをインストール.
設定のKernel Gatewaysを以下に変更:

[{"name": "python-playground", "options": {"baseUrl": "http://localhost:8888"}}]
cd python-playground/
atom .

でatomを起動して↓みたいに書いていく.⌘+Enterで1行実行ぽい.

image.png

多分これで動くはず.

起動はできたぽいけどどういう仕組みなのかちょっと謎.どなたかわかる方いたら教えてください!

3
3
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
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?