Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notebook.nbextensions: invalid syntax #10

Open
hnanhtuan opened this issue Jul 12, 2016 · 0 comments
Open

notebook.nbextensions: invalid syntax #10

hnanhtuan opened this issue Jul 12, 2016 · 0 comments

Comments

@hnanhtuan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant