Spyder: Automatic error report

Created on 6 Apr 2018  路  2Comments  路  Source: spyder-ide/spyder

Problem Description

What steps will reproduce the problem?

memory in 63%, but still connecting to the kernel endlessly on ipython console, the windows are all opened, previous files openned ok,project explorer also openned ok, the problem occours as soon as launch spyder, previously I updated all and installed opencv 331 aplied from anaconda's environments>not installed>options
I think opencv is interfering on spyder

spyder-python 3.6, anaconda 182, windows 7, intel i7-2630QM 8GRam

Traceback

  File "C:\Users\Lsf\Anaconda3\lib\site-packages\spyder\plugins\__init__.py", line 514, in <lambda>
    toggled=lambda checked: self.toggle_view(checked),
  File "C:\Users\Lsf\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole.py", line 725, in toggle_view
    self.create_new_client(give_focus=False)
  File "C:\Users\Lsf\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1046, in create_new_client
    self.connect_client_to_kernel(client, is_cython=is_cython)
  File "C:\Users\Lsf\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1084, in connect_client_to_kernel
    kc.start_channels(shell=True, iopub=True)
  File "C:\Users\Lsf\Anaconda3\lib\site-packages\qtconsole\kernel_mixins.py", line 43, in start_channels
    super(QtKernelClientMixin, self).start_channels(*args, **kw)
  File "C:\Users\Lsf\Anaconda3\lib\site-packages\jupyter_client\threaded.py", line 212, in start_channels
    self.shell_channel._inspect = self._check_kernel_info_reply
  File "C:\Users\Lsf\Anaconda3\lib\site-packages\jupyter_client\client.py", line 143, in shell_channel
    socket, self.session, self.ioloop
  File "C:\Users\Lsf\Anaconda3\lib\site-packages\jupyter_client\threaded.py", line 205, in ioloop
    self._ioloop = ioloop.IOLoop()
  File "C:\Users\Lsf\Anaconda3\lib\site-packages\tornado\util.py", line 312, in __new__
    instance.initialize(*args, **init_kwargs)
  File "C:\Users\Lsf\Anaconda3\lib\site-packages\zmq\eventloop\ioloop.py", line 139, in initialize
    super(ZMQIOLoop, self).initialize(impl=impl, **kwargs)
  File "C:\Users\Lsf\Anaconda3\lib\site-packages\tornado\ioloop.py", line 845, in initialize
    super(PollIOLoop, self).initialize(**kwargs)
  File "C:\Users\Lsf\Anaconda3\lib\site-packages\tornado\ioloop.py", line 357, in initialize
    self.make_current()
  File "C:\Users\Lsf\Anaconda3\lib\site-packages\tornado\ioloop.py", line 315, in make_current
    assert asyncio is None
AssertionError

Package Versions

  • Spyder version: 3.2.8
  • Python version: 3.6.5
  • Qt version: 5.6.2
  • PyQt5 version: 5.6
  • Operating system: Windows 7

Dependencies

pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.22.0 (OK)
numpy >=1.7      :  1.14.0 (OK)
sphinx >=0.6.6   :  1.6.6 (OK)
rope >=0.9.4     :  0.10.7 (OK)
jedi >=0.9.0     :  0.11.1 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
cython >=0.21    :  0.27.3 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.2.1 (OK)
pylint >=0.25    :  1.8.2 (OK)

* ---!>

Duplicate

Most helpful comment

This solved the problem, on console:

(base) C:\Users\Lsf>conda update pyzmq
Solving environment: done

==> WARNING: A newer version of conda exists. <==
current version: 4.4.10
latest version: 4.5.0

Please update conda by running

$ conda update -n base conda

Package Plan

environment location: C:\Users\Lsf\Anaconda3

added / updated specs:
- pyzmq

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
pyzmq-17.0.0               |   py36hfa6e2cd_0         558 KB

The following packages will be UPDATED:

pyzmq: 16.0.3-py36he714bf5_0 --> 17.0.0-py36hfa6e2cd_0

Proceed ([y]/n)? y

Downloading and Extracting Packages
pyzmq 17.0.0: ######################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(base) C:\Users\Lsf>

All 2 comments

This solved the problem, on console:

(base) C:\Users\Lsf>conda update pyzmq
Solving environment: done

==> WARNING: A newer version of conda exists. <==
current version: 4.4.10
latest version: 4.5.0

Please update conda by running

$ conda update -n base conda

Package Plan

environment location: C:\Users\Lsf\Anaconda3

added / updated specs:
- pyzmq

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
pyzmq-17.0.0               |   py36hfa6e2cd_0         558 KB

The following packages will be UPDATED:

pyzmq: 16.0.3-py36he714bf5_0 --> 17.0.0-py36hfa6e2cd_0

Proceed ([y]/n)? y

Downloading and Extracting Packages
pyzmq 17.0.0: ######################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(base) C:\Users\Lsf>

Duplicate of #6627 . Glad you got it fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

impact27 picture impact27  路  3Comments

hedeqing picture hedeqing  路  3Comments

hgijeon picture hgijeon  路  3Comments

spyder-bot picture spyder-bot  路  3Comments

cchu08 picture cchu08  路  3Comments