Skip to content

Commit 5e0d919

Browse files
committed
update Mac/Windows info
1 parent df7cfc9 commit 5e0d919

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ $ jupyter --data-dir
6363

6464
### Mac
6565

66+
**Important Note** - gomacro relies on the `plugin` package when importing third party libraries. This package is only supported on Linux currently. Thus, if you need to utilize third party packages in your Go notebooks and you are running on Mac, you should use the [Docker](#docker) install and run gophernotes/Jupyter in Docker.
67+
6668
```sh
6769
$ go install github.com/gopherdata/gophernotes
6870
$ mkdir -p ~/Library/Jupyter/kernels/gophernotes
@@ -84,6 +86,8 @@ $ jupyter --data-dir
8486

8587
### Windows
8688

89+
**Important Note** - gomacro relies on the `plugin` package when importing third party libraries. This package is only supported on Linux currently. Thus, if you need to utilize third party packages in your Go notebooks and you are running on Windows, you should use the [Docker](#docker) install and run gophernotes/Jupyter in Docker.
90+
8791
Make sure you have the MinGW toolchain:
8892

8993
- [MinGW-w64](https://sourceforge.net/projects/mingw-w64/), for 32 and 64 bit Windows
@@ -150,7 +154,11 @@ Or to run a Go notebook with access to common Go data science packages (gonum, g
150154
$ docker run -it -p 8888:8888 gopherdata/gophernotes-ds
151155
```
152156
153-
In either case, running this command should output a link that you can follow to access Jupyter in a browser.
157+
In either case, running this command should output a link that you can follow to access Jupyter in a browser. Also, to save notebooks to and/or load notebooks from a location outside of the Docker image, you should utilize a volume mount. For example:
158+
159+
```
160+
$ docker run -it -p 8888:8888 -v /path/to/local/notebooks:/path/to/notebooks/in/docker gopherdata/gophernotes
161+
```
154162
155163
## Getting Started
156164

0 commit comments

Comments
 (0)