LoginSignup
11
13

More than 5 years have passed since last update.

Hydrogenインストールメモ

Last updated at Posted at 2017-08-02

少しハマってしまったので覚書しておく。

Hydrogenとは

AtomでJupyter的なことができるやつ。尊い。

hydrogen_demo.gif

Hydrogenのインストール

ざっくりというと

  1. Pythonインストール
  2. Jupyterインストール
  3. Hydrogenインストール
  4. Kernel Specの設定

で普通はいけると思う。

ハマったところ

No module named ipykernel_launcherエラーが出る

これはHydrogenの設定のKernel Specsの部分、通常は説明に従ってjupyter kernelspec list --jsonの出力をコピペすると思うが、その中の次の部分

(前略)
    "python3": {
      (中略)
      "spec": {
        "argv": [
          "python",
(後略)

を、

(前略)
    "python3": {
      (中略)
      "spec": {
        "argv": [
          "python3",
(後略)

と書き換えたら動くようになった。

No kernel for language python foundエラーが出る

別のマシンでやったらまた別のエラーが出た。

これについてはHydrogen doesnt seem to detect python3 installation · Issue #583 · nteract/hydrogen · GitHubにあるように

python3 -m ipykernel install --user

で直った。jupyterのインストール自体何かミスってたのかもしれない。

11
13
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
11
13