Soniya Soni
Soniya Soni

Reputation: 1

am getting this error while starting spyder

I updated spyder to 4.0.1 and received this error and i also downgraded spyder to 3.7 but still it's not working

Traceback (most recent call last):
                  File "C:\Users\Lazxy\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3285, *in main*
               mainwindow = run_spyder(app, options, args)
        File "C:\Users\Lazxy\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3140, in run_spyder
        main.setup()
        File "C:\Users\Lazxy\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 914, in setup
              from spyder.plugins.ipythonconsole import IPythonConsole
        File "C:\Users\Lazxy\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole.py", line 25, in 
              from jupyter_client.connect import find_connection_file
        File "C:\Users\Lazxy\Anaconda3\lib\site-packages\jupyter_client\__init__.py", line 4, in 
        from  .connect import *
        File "C:\Users\Lazxy\Anaconda3\lib\site-packages\jupyter_client\connect.py", line 35, *in 
       from jupyter_core.paths import jupyter_data_dir, jupyter_runtime_dir, secure_write*

    ImportError: cannot import name 'secure_write' from 'jupyter_core.paths' 
                     (C:\Users\Lazxy\Anaconda3\lib\site-packages\jupyter_core\paths.py)


Upvotes: 0

Views: 560

Answers (1)

Mohit Chandel
Mohit Chandel

Reputation: 1916

Try this

conda update jupyter_core

Upvotes: 2

Related Questions