Azure / Azure/MachineLearningNotebooks

Segmentation fault (core dumped) while running a python script via terminal.

Open
#1,570 0 comments 0 reactions 0 assignees View on GitHub
ADO bug MLOps
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

I am trying a get a python script run on azure ml .. as I did I am getting this error

Imported Needed libraries
Snowflake connection started
Data ingestion started..
Segmentation fault (core dumped)
azureuser@:~///Users/********$

and if I want to run a notebook via

jupyter nbconvert --execute HRE_Member_Ranking.ipynb it gives me

Traceback (most recent call last):
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 478, in _poll_for_reply
msg = self.kc.shell_channel.get_msg(timeout=timeout)
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/jupyter_client/blocking/channels.py", line 54, in get_msg
raise Empty
_queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/anaconda/envs/azureml_py38/bin/jupyter-nbconvert", line 8, in
sys.exit(main())
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/jupyter_core/application.py", line 270, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/traitlets/config/application.py", line 845, in launch_instance
app.start()
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 340, in start
self.convert_notebooks()
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 510, in convert_notebooks
self.convert_single_notebook(notebook_filename)
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 481, in convert_single_notebook
output, resources = self.export_single_notebook(notebook_filename, resources, input_buffer=input_buffer)
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 410, in export_single_notebook
output, resources = self.exporter.from_filename(notebook_filename, resources=resources)
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 179, in from_filename
return self.from_file(f, resources=resources, **kw)
File "/anaconda/envs/azureml_py38/lib/python3.8/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 "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/exporters/html.py", line 95, in from_notebook_node
return super(HTMLExporter, self).from_notebook_node(nb, resources, **kw)
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/exporters/templateexporter.py", line 307, in from_notebook_node
nb_copy, resources = super(TemplateExporter, self).from_notebook_node(nb, resources, **kw)
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 139, in from_notebook_node
nb_copy, resources = self._preprocess(nb_copy, resources)
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 316, in _preprocess
nbc, resc = preprocessor(nbc, resc)
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/preprocessors/base.py", line 47, in call
return self.preprocess(nb, resources)
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 405, in preprocess
nb, resources = super(ExecutePreprocessor, self).preprocess(nb, resources)
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/preprocessors/base.py", line 69, in preprocess
nb.cells[index], resources = self.preprocess_cell(cell, resources, index)
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 438, in preprocess_cell
reply, outputs = self.run_cell(cell, cell_index, store_history)
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 578, in run_cell
exec_reply = self._poll_for_reply(parent_msg_id, cell, timeout)
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 483, in _poll_for_reply
self._check_alive()
File "/anaconda/envs/azureml_py38/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 510, in _check_alive
raise DeadKernelError("Kernel died")
nbconvert.preprocessors.execute.DeadKernelError: Kernel died

please help ..

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.