Skip to content

Commit 15a2814

Browse files
committed
README.md: document '%go111module off' workaround to import packages that require cgo
1 parent b4a03c0 commit 15a2814

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,13 @@ sudo ln -s $HOME/go/bin/gophernotes /go/bin/gophernotes
263263
264264
Restart jupyter, and you should now be up and running.
265265
266+
### error "could not import C (no metadata for C)" when importing a package
267+
268+
At a first analysis, it seems to be a limitation of the new import mechanism that supports Go 1.11 modules.
269+
You can switch the old (non module-aware) mechanism with the command `%go111module off`
270+
271+
To re-enable modules support, execute `%go111module on`
272+
266273
### Look at Jupyter notebook's logs for debugging
267274
268275
In order to see the logs for your Jupyter notebook, use the --log-level option

0 commit comments

Comments
 (0)