You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error writing file "C:\Users\smile\go\src\github.com\gopherdata\gophernotes\imports/thirdparty/gonum_org_v1_gonum_mat.go": open C:\Users\smile\go\src\github.com\gopherdata\gophernotes\imports/thirdparty/gonum_org_v1_gonum_mat.go: The system cannot find the path specified.
it is visiable to find the error is come from path, but i do not konw how to solve it.
The text was updated successfully, but these errors were encountered:
then edit the file %APPDATA%\jupyter\kernels\gophernotes\kernel.json replacing the string "gophernotes"
with the full path of gophernotes executable, surrounded by double quotes, as for example
"C:\Users\PUT_YOUR_USERNAME_HERE\go\bin\gophernotes"
Start jupyter notebook (I am assuming it's already installed), typically by executing the command
jupyter notebook
and create a new Go notebook with New > Go
At gophernotes prompt, import all the third-party packages you need. For example:
for each import, you will get a message saying that a file has been created inside C:\Users\PUT_YOUR_USERNAME_HERE\go\src\github.com\gopherdata\gophernotes
and that you need to recompile gophernotes.
Don't quit jupyter notebook yet: first, enter all the import statements you need.
Only after you have typed all the import statements (and got a similar message for each, saying that you need to recompile gophernotes), quit jupiter notebook.
Recompile gophernotes with the commands:
set GOPATH=%USERPROFILE%\gocd "%GOPATH%\src\github.com\gopherdata\gophernotes"go install .
Start again jupyter notebook, and create a new Go notebook with New > Go
Import again the same third-party packages as in step 4. This time gophernotes will find them.
Final note: you need to repeat steps 4,5,6 and 7 each time you want to import third-party packages.
Pretty tedious, but there's currently no other solution.
error writing file "C:\Users\smile\go\src\github.com\gopherdata\gophernotes\imports/thirdparty/gonum_org_v1_gonum_mat.go": open C:\Users\smile\go\src\github.com\gopherdata\gophernotes\imports/thirdparty/gonum_org_v1_gonum_mat.go: The system cannot find the path specified.
it is visiable to find the error is come from path, but i do not konw how to solve it.
![image](https://user-images.githubusercontent.com/51192597/151093074-ed9747e1-8b87-4e86-9433-479df0df4eae.png)
The text was updated successfully, but these errors were encountered: