question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't launch nothing from Anaconda

See original GitHub issue

Problem Description

I am new with anaconda spyder and python, but I just downloaded anaconda and trying to launch spyder. The window with spyder 3 it does open (check the image) but nothing come up. after few minutes everything disappear and I get this error (check image 2). Can please someone help me? Thanks a lot. I’ve got the same error with qtconsole.

What steps reproduce the problem?

  1. download anaconda 5.2 python 3.6 spyder 3.2.8 on windows 10 64bit
  2. open anaconda launcher
  3. launch spyder

What is the expected output? What do you see instead?

I expected spyder to open, but I don’t see anything happening. It seems spyder is running, but it doesn’t show on screen. cattura cattura2

(base) C:\Users\Riccardo>spyder
Traceback (most recent call last):
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\traitlets\traitlets.py", line 528, in get
    value = obj._trait_values[self.name]
KeyError: 'context'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3208, in main
    mainwindow = run_spyder(app, options, args)
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3084, in run_spyder
    main.setup()
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 1172, in setup
    self.setup_layout(default=False)
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 1457, in setup_layout
    self.setup_default_layouts('default', settings)
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 1633, in setup_default_layouts
    widget.toggle_view(True)
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole.py", line 725, in toggle_view
    self.create_new_client(give_focus=False)
  File "C:\Users\Riccardo\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\Riccardo\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1074, in connect_client_to_kernel
    is_cython=is_cython)
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1522, in create_kernel_manager_and_kernel_client
    kernel_manager.start_kernel(stderr=stderr)
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\jupyter_client\manager.py", line 261, in start_kernel
    self._connect_control_socket()
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\jupyter_client\manager.py", line 210, in _connect_control_socket
    self._control_socket = self.connect_control()
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\jupyter_client\connect.py", line 571, in connect_control
    return self._create_connected_socket('control', identity=identity)
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\jupyter_client\connect.py", line 543, in _create_connected_socket
    sock = self.context.socket(socket_type)
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\traitlets\traitlets.py", line 556, in __get__
    return self.get(obj, cls)
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\traitlets\traitlets.py", line 535, in get
    value = self._validate(obj, dynamic_default())
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\jupyter_client\manager.py", line 42, in _context_default
    return zmq.Context.instance()
  File "C:\Users\Riccardo\Anaconda3\lib\site-packages\zmq\sugar\context.py", line 108, in instance
    cls._instance = cls(io_threads=io_threads)
  File "zmq/backend/cython/context.pyx", line 49, in zmq.backend.cython.context.Context.__cinit__
zmq.error.ZMQError: Unknown error
[4164:9312:0703/153514.462:ERROR:broker_win.cc(59)] Error reading broker pipe: Pipe terminata. (0x6D)
[2164:2136:0703/153514.463:ERROR:broker_win.cc(59)] Error reading broker pipe: Pipe terminata. (0x6D)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
mingwandroidcommented, Jul 3, 2018

Probably a virus scanner getting in the way?

1reaction
ccordoba12commented, Jul 3, 2018

Good advice @mingwandroid, thanks!

@rb1990, I hope deactivating your antivirus/firewall works for you because I’m really out of ideas.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - Anaconda Documentation
If you are having problems launching Anaconda Navigator, follow these steps. If you cannot launch the Anaconda Navigator desktop app, you can still...
Read more >
Anaconda Navigator won't launch (windows 10) - Stack Overflow
Update to the latest conda and latest navigator will resolve this issue. Open the Anaconda Prompt and type.
Read more >
Anaconda Navigator fails to start installed applications with ...
When I try to launch an App from Anaconda Navigator clicking the Launch button of related App in home, nothing happens
Read more >
Anaconda navigator not opening on Windows 10 - net2
Anaconda navigator won't launch. Sometimes you will face the issue in which the Anaconda navigator will not be able to start. In order...
Read more >
What to do when things go wrong - The Jupyter Notebook
Jupyter fails to start · Have you installed it? ;-) · If you're using a menu shortcut or Anaconda launcher to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found