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
Hi ! Thank you for the docker file!
I am facing an error while running this, when I guess: jupyter nbconvert --execute --ExecutePreprocessor.timeout=-1 --to notebook --inplace build.ipynb
is getting xecuted, I am getting this error:
[NbConvertApp] Converting notebook build.ipynb to notebook Traceback (most recent call last): File "/usr/local/bin/jupyter-nbconvert", line 10, in <module> sys.exit(main()) File "/usr/local/lib/python3.5/site-packages/jupyter_core/application.py", line 267, in launch_instance return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) File "/usr/local/lib/python3.5/site-packages/traitlets/config/application.py", line 658, in launch_instance app.start() File "/usr/local/lib/python3.5/site-packages/nbconvert/nbconvertapp.py", line 338, in start self.convert_notebooks() File "/usr/local/lib/python3.5/site-packages/nbconvert/nbconvertapp.py", line 508, in convert_notebooks self.convert_single_notebook(notebook_filename) File "/usr/local/lib/python3.5/site-packages/nbconvert/nbconvertapp.py", line 479, in convert_single_notebook output, resources = self.export_single_notebook(notebook_filename, resources, input_buffer=input_buffer) File "/usr/local/lib/python3.5/site-packages/nbconvert/nbconvertapp.py", line 408, in export_single_notebook output, resources = self.exporter.from_filename(notebook_filename, resources=resources) File "/usr/local/lib/python3.5/site-packages/nbconvert/exporters/exporter.py", line 179, in from_filename return self.from_file(f, resources=resources, **kw) File "/usr/local/lib/python3.5/site-packages/nbconvert/exporters/exporter.py", line 197, in from_file return self.from_notebook_node(nbformat.read(file_stream, as_version=4), resources=resources, **kw) File "/usr/local/lib/python3.5/site-packages/nbconvert/exporters/notebook.py", line 32, in from_notebook_node nb_copy, resources = super(NotebookExporter, self).from_notebook_node(nb, resources, **kw) File "/usr/local/lib/python3.5/site-packages/nbconvert/exporters/exporter.py", line 139, in from_notebook_node nb_copy, resources = self._preprocess(nb_copy, resources) File "/usr/local/lib/python3.5/site-packages/nbconvert/exporters/exporter.py", line 316, in _preprocess nbc, resc = preprocessor(nbc, resc) File "/usr/local/lib/python3.5/site-packages/nbconvert/preprocessors/base.py", line 47, in __call__ return self.preprocess(nb, resources) File "/usr/local/lib/python3.5/site-packages/nbconvert/preprocessors/execute.py", line 379, in preprocess with self.setup_preprocessor(nb, resources, km=km): File "/usr/local/lib/python3.5/contextlib.py", line 59, in __enter__ return next(self.gen) File "/usr/local/lib/python3.5/site-packages/nbconvert/preprocessors/execute.py", line 324, in setup_preprocessor self.km, self.kc = self.start_new_kernel(cwd=path) File "/usr/local/lib/python3.5/site-packages/nbconvert/preprocessors/execute.py", line 271, in start_new_kernel km.start_kernel(extra_arguments=self.extra_arguments, **kwargs) File "/usr/local/lib/python3.5/site-packages/jupyter_client/manager.py", line 246, in start_kernel kernel_cmd = self.format_kernel_cmd(extra_arguments=extra_arguments) File "/usr/local/lib/python3.5/site-packages/jupyter_client/manager.py", line 170, in format_kernel_cmd cmd = self.kernel_spec.argv + extra_arguments File "/usr/local/lib/python3.5/site-packages/jupyter_client/manager.py", line 82, in kernel_spec self._kernel_spec = self.kernel_spec_manager.get_kernel_spec(self.kernel_name) File "/usr/local/lib/python3.5/site-packages/jupyter_client/kernelspec.py", line 236, in get_kernel_spec raise NoSuchKernel(kernel_name) jupyter_client.kernelspec.NoSuchKernel: No such kernel named conda_python3
Could you help me with what I am doing wrong?
The text was updated successfully, but these errors were encountered:
This failure indicates that your jupyter environment is misconfigured. jupyter is trying to run the command using the conda_python3 kernel, but no such kernel exists on your machine. To verify that this is true, run jupyter kernelspec list and see whether or not the conda_python3 kernel exists on the machine.
I don't know of a way of fixing this issue besides uninstalling and reinstalling conda. If you are running this inside of the SageMaker environment, it's possible that since the last time I ran this code, they have changed the environment image in a way which has broken jupyter commands like this one. I don't know that there is a good solution beyond filing a support ticket with AWS.
Hi ! Thank you for the docker file!
I am facing an error while running this, when I guess:
jupyter nbconvert --execute --ExecutePreprocessor.timeout=-1 --to notebook --inplace build.ipynb
is getting xecuted, I am getting this error:
[NbConvertApp] Converting notebook build.ipynb to notebook Traceback (most recent call last): File "/usr/local/bin/jupyter-nbconvert", line 10, in <module> sys.exit(main()) File "/usr/local/lib/python3.5/site-packages/jupyter_core/application.py", line 267, in launch_instance return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) File "/usr/local/lib/python3.5/site-packages/traitlets/config/application.py", line 658, in launch_instance app.start() File "/usr/local/lib/python3.5/site-packages/nbconvert/nbconvertapp.py", line 338, in start self.convert_notebooks() File "/usr/local/lib/python3.5/site-packages/nbconvert/nbconvertapp.py", line 508, in convert_notebooks self.convert_single_notebook(notebook_filename) File "/usr/local/lib/python3.5/site-packages/nbconvert/nbconvertapp.py", line 479, in convert_single_notebook output, resources = self.export_single_notebook(notebook_filename, resources, input_buffer=input_buffer) File "/usr/local/lib/python3.5/site-packages/nbconvert/nbconvertapp.py", line 408, in export_single_notebook output, resources = self.exporter.from_filename(notebook_filename, resources=resources) File "/usr/local/lib/python3.5/site-packages/nbconvert/exporters/exporter.py", line 179, in from_filename return self.from_file(f, resources=resources, **kw) File "/usr/local/lib/python3.5/site-packages/nbconvert/exporters/exporter.py", line 197, in from_file return self.from_notebook_node(nbformat.read(file_stream, as_version=4), resources=resources, **kw) File "/usr/local/lib/python3.5/site-packages/nbconvert/exporters/notebook.py", line 32, in from_notebook_node nb_copy, resources = super(NotebookExporter, self).from_notebook_node(nb, resources, **kw) File "/usr/local/lib/python3.5/site-packages/nbconvert/exporters/exporter.py", line 139, in from_notebook_node nb_copy, resources = self._preprocess(nb_copy, resources) File "/usr/local/lib/python3.5/site-packages/nbconvert/exporters/exporter.py", line 316, in _preprocess nbc, resc = preprocessor(nbc, resc) File "/usr/local/lib/python3.5/site-packages/nbconvert/preprocessors/base.py", line 47, in __call__ return self.preprocess(nb, resources) File "/usr/local/lib/python3.5/site-packages/nbconvert/preprocessors/execute.py", line 379, in preprocess with self.setup_preprocessor(nb, resources, km=km): File "/usr/local/lib/python3.5/contextlib.py", line 59, in __enter__ return next(self.gen) File "/usr/local/lib/python3.5/site-packages/nbconvert/preprocessors/execute.py", line 324, in setup_preprocessor self.km, self.kc = self.start_new_kernel(cwd=path) File "/usr/local/lib/python3.5/site-packages/nbconvert/preprocessors/execute.py", line 271, in start_new_kernel km.start_kernel(extra_arguments=self.extra_arguments, **kwargs) File "/usr/local/lib/python3.5/site-packages/jupyter_client/manager.py", line 246, in start_kernel kernel_cmd = self.format_kernel_cmd(extra_arguments=extra_arguments) File "/usr/local/lib/python3.5/site-packages/jupyter_client/manager.py", line 170, in format_kernel_cmd cmd = self.kernel_spec.argv + extra_arguments File "/usr/local/lib/python3.5/site-packages/jupyter_client/manager.py", line 82, in kernel_spec self._kernel_spec = self.kernel_spec_manager.get_kernel_spec(self.kernel_name) File "/usr/local/lib/python3.5/site-packages/jupyter_client/kernelspec.py", line 236, in get_kernel_spec raise NoSuchKernel(kernel_name) jupyter_client.kernelspec.NoSuchKernel: No such kernel named conda_python3
Could you help me with what I am doing wrong?
The text was updated successfully, but these errors were encountered: