0

Here I get an error when I run script with Jupyter notebook and I try many approaches to solve it, but not succesful.

When I followed Failed to start the kernel on jupyter notebook to configue my jupyter file, but inefficient. And then I followed Failed to start the Kernel - Jupyter in VS Code, Jupyter - failed to start the kernel and vscode jupyter failed to start kernel aslo inefficient. Indeed, I am troubled by this question two days and I can't tolerate this. Who can help me?

here is a piuture about this question reminder information

    Failed to start the Kernel. 
Traceback (most recent call last):
  File "/home/bio_kang/software/anaconda3/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/bio_kang/software/anaconda3/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/bio_kang/software/anaconda3/lib/python3.9/site-packages/ipykernel_launcher.py", line 15, in <module>
    from ipykernel import kernelapp as app
  File "/home/bio_kang/software/anaconda3/lib/python3.9/site-packages/ipykernel/__init__.py", line 2, in <module>
    from .connect import *
  File "/home/bio_kang/software/anaconda3/lib/python3.9/site-packages/ipykernel/connect.py", line 10, in <module>
    import jupyter_client
  File "/home/bio_kang/software/anaconda3/lib/python3.9/site-packages/jupyter_client/__init__.py", line 4, in <module>
    from .connect import *
  File "/home/bio_kang/software/anaconda3/lib/python3.9/site-packages/jupyter_client/connect.py", line 16, in <module>
    import tempfile
  File "/home/bio_kang/software/anaconda3/lib/python3.9/tempfile.py", line 45, in <module>
    from random import Random as _Random
  File "/home/bio_kang/Learning/Python/random.py", line 2, in <module>
    import pandas as pd
  File "/home/bio_kang/software/anaconda3/lib/python3.9/site-packages/pandas/__init__.py", line 16, in <module>
    raise ImportError(
ImportError: Unable to import required dependencies:
numpy: cannot import name SystemRandom. 
View Jupyter log for further details.

0 Answers0