Ipython console in Spyder stuck on “connecting to kernel”

后端 未结 12 2011
夕颜
夕颜 2021-01-01 11:07

I am new to python and coming from Matlab and I have installed the latest version of Python(x,y) (2.7.9.0) on my Win 8 64 bit PC.

The problem that I have is that, e

相关标签:
12条回答
  • 2021-01-01 11:15

    Disabling anti-virus helped me resolve this issue instantly. Once the console was displayed, I enabled my anti-virus again.

    0 讨论(0)
  • 2021-01-01 11:16

    Another possible solution to this problem is to update your pyzmq library to version 14.6.0 or higher, which should fix this problem in Windows 8.

    If you are using Anaconda, you just need to do

    conda update pyzmq
    

    to do that.

    0 讨论(0)
  • 2021-01-01 11:16

    Removing /anaconda/lib/python2.7/site-packages from PYTHONPATH manager in Spyder solved this for me.

    0 讨论(0)
  • 2021-01-01 11:19

    Try typing these 3 lines from the anaconda command prompt:

    conda create -n spyder python=2.7 spyder

    activate spyder

    spyder

    0 讨论(0)
  • 2021-01-01 11:20

    I run "Reset Spyder Settings" from the Windows Menu in the Anaconda section.

    0 讨论(0)
  • 2021-01-01 11:21

    In my case I had to update the package ipykernel as well (on Python 3.6.3 | Anaconda 64-bit | Windows 10). Now my Spyder can spawn conoles in reasonable time.

    Using pip I succeeded by:

    pip install -U pyzmq

    pip install -U ipykernel

    0 讨论(0)
提交回复
热议问题