notebook.nbextensions: invalid syntax
hnanhtuan opened this issue · 0 comments
Hi everyone,
I got this error message when run the script to install the Jupyter Notebook extension.
... notebook.nbextensions.install_nbextension('tdb_ext',user=True)
File "", line 3
notebook.nbextensions.install_nbextension('tdb_ext',user=True)
^
SyntaxError: invalid syntax
When I try to run this script on Jupter notebook, the script can run through without error message. However, when I run the whole demo script, I got the message: InternalError: cuDNN launch failure
I think as the script on Jupyter notebook only install the extension virtually.
copying /home/anhxtuan/Dropbox/0-PhD/1-Tutorials/TensorFlow/tdb_ext/main.js -> /home/anhxtuan/.local/share/jupyter/nbextensions/tdb_ext/main.js
I think the correct path should be: /usr/local/share/jupyter/nbextensions/tdb_ext/main.js
. Right?
What could be the issue here and how can I resolve it?
Btw, I have successfully installed the TDB library:
sudo pip install tfdebugger
[sudo] password for anhxtuan:
Requirement already satisfied (use --upgrade to upgrade): tfdebugger in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): toposort>=1.4 in /usr/local/lib/python2.7/dist-packages (from tfdebugger)
Cleaning up...
And I also can run the TensorFlow demo without TDB successfully, so I think it should not be a problem with cnDNN library.
Thank you very much.