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.

Activation of kernel env fails when using anaconda shortcut (FileNotFound error kernel start 4.1.0)

See original GitHub issue

Problem Description

Spyder4.1.0 IPython kernel startup error Close spyder and restart, the problem persists.

What steps reproduce the problem?

After upgrading spyder4.0.1 to 4.1.0, IPython kernel startup error occurs when starting spyder. The following command is used to upgrade in a virtual environment: conda install spyder=4.1.0

启动 IPython 内核时发生错误(An error occurred while starting the IPython kernel)
错误:(Error)
Traceback (most recent call last):
File "C:\Users\Admin\Anaconda3\envs\python37\lib\site‑packages\spyder\plugins\ipythonconsole\plugin.py", line 1209, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr_handle, **kwargs)
File "C:\Users\Admin\Anaconda3\envs\python37\lib\site‑packages\jupyter_client\manager.py", line 259, in start_kernel
**kw)
File "C:\Users\Admin\Anaconda3\envs\python37\lib\site‑packages\jupyter_client\manager.py", line 204, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)
File "C:\Users\Admin\Anaconda3\envs\python37\lib\site‑packages\jupyter_client\launcher.py", line 138, in launch_kernel
proc = Popen(cmd, **kwargs)
File "C:\Users\Admin\Anaconda3\envs\python37\lib\subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "C:\Users\Admin\Anaconda3\envs\python37\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件(The system can not find the file specified)。

Versions

  • Spyder version: 4.1.0
  • Python version: Python3.7.5
  • Qt version: 5.9.6
  • PyQt version: 5.9.2
  • Operating System name/version: win10

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:31 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
dalthvizcommented, Mar 17, 2020

Testing with the desktop shortcut I can reproduce this! Thank you all for the feedback! for now please launch Spyder from the Anaconda prompt/Anaconda Navigator

2reactions
manfred2020commented, Mar 17, 2020

yes, via desktop shortcut sypder 4.1 still doesn’t work (works from prompt and anaconda)

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Link Conda environment with Jupyter Notebook
I am failing to get it to work though, when I have openjdk in the conda environment. JAVA_HOME is usually set when the...
Read more >
Spyder 4.1.0 Windows 10 Spyder Start Menu Shortcut "An ...
If Spyder 4.1.0 is launched through Anaconda navigator Spyder 4.1.0 appears to ... via the Spyder shortcut on the start menu the following...
Read more >
Known issues — Anaconda Platform 5.6.0 documentation
Follow this process to create a working conda environment, and activate it: ... This bug is caused by a previous failure of a...
Read more >
Jupyter Notebook Documentation, Release 6.4.11
with an active kernel have a Shutdown button next to them, ... If you're using a menu shortcut or Anaconda launcher to start...
Read more >
Severity
2020-05-02, Centos 7.6 networking does not start on AWS EC2 Xen VM ... 2018-07-18, Kernel BUG while trying to activate firewall script with...
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