Skip to content

Commit caf0dc9

Browse files
authored
Update README.md
1 parent 5711929 commit caf0dc9

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,16 @@ Then:
8888
mkdir ~/.ipython/kernels/gophernotes
8989
cp -r $GOPATH/src/github.com/gopherds/gophernotes/kernel/* ~/.ipython/kernels/gophernotes/
9090
```
91-
5. Copy the kernel config into the `jupyter` directory:
91+
5. Copy the kernel config into the `~/.local/jupyter` directory:
9292
9393
```
9494
cp -r $GOPATH/src/github.com/gopherds/gophernotes/kernel/* ~/.local/share/jupyter/kernels/gophernotes
9595
```
9696
97-
OR depending on your version of jupyter:
97+
Note, if you have the `JUPYTER_PATH` environmental variable set or if you are using an older version of Jupyter, you may need to copy this kernel config to another directory. You can check which directories will be searched by executing:
9898
9999
```
100-
cp -r $GOPATH/src/github.com/gopherds/gophernotes/kernel/* ~/.ipython/kernels/gophernotes/
100+
jupyter --data-dir
101101
```
102102
103103
### Local, OSX
@@ -148,15 +148,14 @@ Then:
148148
3. Copy the kernel config:
149149
150150
```
151-
mkdir -p ~/.local/share/jupyter/kernels/gophernotes
152-
cp -r $GOPATH/src/github.com/gopherds/gophernotes/kernel/* ~/.local/share/jupyter/kernels/gophernotes
151+
mkdir -p ~/Library/Jupyter/kernels/gophernotes
152+
cp -r $GOPATH/src/github.com/gopherds/gophernotes/kernel/* ~/Library/Jupyter/kernels/gophernotes
153153
```
154154
155-
OR, depending on which version of jupyter you are using and if you are using Anaconda, you may need to copy to `~/.ipython` rather than `~/.local/share`:
155+
Note, if you have the `JUPYTER_PATH` environmental variable set or if you are using an older version of Jupyter, you may need to copy this kernel config to another directory. You can check which directories will be searched by executing:
156156
157157
```
158-
mkdir ~/.ipython/kernels/gophernotes
159-
cp -r $GOPATH/src/github.com/gopherds/gophernotes/kernel/* ~/.ipython/kernels/gophernotes/
158+
jupyter --data-dir
160159
```
161160
162161
4. Update `~/.local/share/jupyter/kernels/gophernotes/kernel.json` with the FULL PATH to your gophernotes binary (in $GOPATH/bin). For example:

0 commit comments

Comments
 (0)