Skip to content

Commit 3ef9f48

Browse files
committed
doc: update jupyter kernels config location
old Jupyter version was expecting user configuration to live under: $HOME/.ipython/kernels/<kernel-name> now, it shall be under: $HOME/.local/share/jupyter/kernels/<kernel-name> If one would use the old location, jupyter would migrate the configuration to $HOME/.local/share/jupyter and leave the old one stale (and subsequent modifications to the file(s) under $HOME/.ipython would be ignored.) Update the README.
1 parent 7d38a55 commit 3ef9f48

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ This project came out of the [Gopher Gala](http://gophergala.com/) 2016. It is
7575
- Create a directory for the new kernel config:
7676
7777
```
78-
mkdir -p ~/.ipython/kernels/gophernotes
78+
mkdir -p ~/.local/share/jupyter/kernels/gophernotes
7979
```
8080
81-
- Copy the kernel config into the `.ipython` directory:
81+
- Copy the kernel config into the `jupyter` directory:
8282
8383
```
84-
cp -r $GOPATH/src/github.com/gophergala2016/gophernotes/kernel/* ~/.ipython/kernels/gophernotes
84+
cp -r $GOPATH/src/github.com/gophergala2016/gophernotes/kernel/* ~/.local/share/jupyter/kernels/gophernotes
8585
```
8686
8787
### Local, OSX
@@ -132,11 +132,11 @@ This project came out of the [Gopher Gala](http://gophergala.com/) 2016. It is
132132
- Copy the kernel config:
133133
134134
```
135-
mkdir -p ~/.ipython/kernels/gophernotes
136-
cp -r $GOPATH/src/github.com/gophergala2016/gophernotes/kernel/* ~/.ipython/kernels/gophernotes
135+
mkdir -p ~/.local/share/jupyter/kernels/gophernotes
136+
cp -r $GOPATH/src/github.com/gophergala2016/gophernotes/kernel/* ~/.local/share/jupyter/kernels/gophernotes
137137
```
138138
139-
- Update `~/.ipython/kernels/gophernotes/kernel.json` with the path to your $GOPATH installation. If you used the path above, your file will look like:
139+
- Update `~/.local/share/jupyter/kernels/gophernotes/kernel.json` with the path to your $GOPATH installation. If you used the path above, your file will look like:
140140
141141
```
142142
{
@@ -166,7 +166,7 @@ This project came out of the [Gopher Gala](http://gophergala.com/) 2016. It is
166166
## Troubleshooting
167167
168168
### gophernotes not found
169-
- Depending on your environment, you may need to manually change the path to the `gophernotes` executable in `kernel/kernel.json` before copying it to `~/.ipython/kernels/gophernotes`. You can put the **full path** to the `gophernotes` executable here, and you shouldn't have any further issues.
169+
- Depending on your environment, you may need to manually change the path to the `gophernotes` executable in `kernel/kernel.json` before copying it to `~/.local/share/jupyter/kernels/gophernotes`. You can put the **full path** to the `gophernotes` executable here, and you shouldn't have any further issues.
170170
171171
172172
### "Kernel error" in a running notebook

0 commit comments

Comments
 (0)