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

Question: #7

Open
jasomayo opened this issue Mar 7, 2020 · 1 comment
Open

Question: #7

jasomayo opened this issue Mar 7, 2020 · 1 comment

Comments

@jasomayo
Copy link

jasomayo commented Mar 7, 2020

Question on: https://github.com/vsoch/lessons/tree/master/_posts/hpc/2018-07-10-sherlock-jupyter.md#21-jupyter-notebook

After following prompts to enter and verify password, I receive an error message and the step apparently fails. Any idea why this problem occurs and what can be done to fix it?

The error message in question:
Traceback (most recent call last): File "/share/software/user/open/py-jupyter/1.0.0_py36/bin/jupyter-notebook", line 11, in <module> sys.exit(main()) File "/share/software/user/open/py-jupyter/1.0.0_py36/lib/python3.6/site-packages/jupyter_core/application.py", line 267, in launch_instance return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) File "/share/software/user/open/py-jupyter/1.0.0_py36/lib/python3.6/site-packages/traitlets/config/application.py", line 658, in launch_instance app.start() File "/share/software/user/open/py-jupyter/1.0.0_py36/lib/python3.6/site-packages/notebook/notebookapp.py", line 1362, in start super(NotebookApp, self).start() File "/share/software/user/open/py-jupyter/1.0.0_py36/lib/python3.6/site-packages/jupyter_core/application.py", line 256, in start self.subapp.start() File "/share/software/user/open/py-jupyter/1.0.0_py36/lib/python3.6/site-packages/notebook/notebookapp.py", line 345, in start set_password(config_file=self.config_file) File "/share/software/user/open/py-jupyter/1.0.0_py36/lib/python3.6/site-packages/notebook/auth/security.py", line 148, in set_password config.NotebookApp.password = hashed_password File "/share/software/user/open/python/3.6.1/lib/python3.6/contextlib.py", line 89, in __exit__ next(self.gen) File "/share/software/user/open/py-jupyter/1.0.0_py36/lib/python3.6/site-packages/notebook/auth/security.py", line 131, in persist_config with io.open(config_file, 'w', encoding='utf8') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/users/jazam/.jupyter/jupyter_notebook_config.json'

@vsoch
Copy link
Owner

vsoch commented Mar 7, 2020

If you look at the last line, it’s telling you that you are missing a config for Jupyter notebook. Try running Jupyter interactively on the cluster and learning about the config file and how you can customize it. When you’ve tried, and generated one that seems to work, try this again.

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

2 participants