spyder: Spyder Won't Launch

Description of your problem

What steps will reproduce the problem?

  1. Open Anaconda Launcher
  2. Find Syper, “click” Run
  3. executable script window appears
  4. Sypder doesn’t launch

What is the expected output? What do you see instead? Expect to see Spyder launch screen and for spyder to load

Please provide any additional information below ran the following with “show console” and “reset” command, get the same error (see below).

image

Versions and main components

  • Spyder Version: 2.3.8
  • Python Version: 2.7.11
  • Operating system: windows 10 64big

Dependencies

Anaconda Stack

Please go to the menu entry Help > Optional Dependencies (or Help > Dependencies), press the button Copy to clipboard and paste the contents below:

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Reactions: 2
  • Comments: 82 (14 by maintainers)

Most upvoted comments

Could you run in a terminal

spyder --reset

and try again?

Guys, I have observed the same problem: Solution: Uninstall PyQt and then uninstall the SIP package Reinstall above packages but in following sequence: 1 SIP 2 PyQt4/5 Try to launch Spyder, it works I have tested this on Python 3.5.2 and 3.6.2

@MBiagio I had the same problem, pip install pyqt5 helped (windows 7, python 3.6).

Just in case it helps, I installed clean python 3.5 from python.org on Windows 10, then pip installed spyder. It failed silently. I then pip installed PyQT5, uninstalled and reinstalled spyder - and it works.

I don’t know what pip install is, or what pyqt5 is. But I tried running spyder from the terminal and it worked.

@ccordoba12 @jdweaver Thank you spyder --reset worked!

First reset your laptop/PC, after that open terminal and type spyder --reset

When I installed tensorflow via conda it killed spyder’s ability to launch. Versions: Windows 7 Enterprise Python 3.6.5 conda 3.5.4 Installer: Anaconda3_5.2.0-Windows-x86_64.exe tensorflow 1.8.0-py36_1

After installing tf, when I tried to run spyder, it would open two instances of pythonw.exe for about ten seconds while an hour glass appeared net to the mouse. Then the instances disappeared silently and no instance of the spyder gui appeared. I tried resetting spyder as mentioned above and that didn’t do it.

I think it is due to tensorflow downgrading pyqt from 5.9.2 to 5.60-py36_2 because after I uninstalled and reinstalled tf, I ran >conda update pyqt and spyder started working again. The update took pyqt from 5.6.0-py36_2 to 5.6.0-py36_5 and now spyder works. It also downgraded sip from 4.19.8-py36h6538335_0 to 4.18-py36_1.

I didn’t want to open a new issue, because it seems related to the above issues and also because I was able to hack a solution. However, hopefully this helps future users.

I have the same issue. I open Anaconda Launcher and right next to Spyder, update button shown. After I updated. And try to click spyder to Launch nothing comes up. I have version 2.3.8. I am using Mac

@cecidip, please run

conda install -f python.app

That should fix your problem.

@ArunSha, please open an Anaconda Prompt, run there

conda install qt=5.6* pyqt=5.6* sip=4.18*

and try again.

spyder --reset doesn’t work. pip install pyqt5 worked.

I have no clue what pip install pyqt5 is but it solved my problem. Thanx @axil !

@jdweaver, could you upload somewhere (e.g. as a gist) or send me directly (my email is under my Github user page) this file

 C:\Users\jdweaver\.spyder2\spyder.ini

?

That would really help me to debug and solve this problem 😃

Same issue 😦

Sent from Outlook Mobilehttps://aka.ms/qtex0l

On Wed, Apr 27, 2016 at 8:22 AM -0700, “Carlos Cordoba” <notifications@github.commailto:notifications@github.com> wrote:

Could you run in a terminal

spyder --reset

and try again?

You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/spyder-ide/spyder/issues/3138#issuecomment-215119078

conda install -f python.app did it, thanks !

I have a similar issue: double click C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anaconda3 (64-bit)\Reset Spyder Settings (memoire).lnk

I have a similar issue. Windows 7 x84 4 GB Ram CPU: Intel ® Core i5 2.5GHz Python 3.7.0 conda 4.5.11 Installer: Anaconda3-5.3.1-Windows-x86

image

I have tried reinstalling Anaconda several times. I have run spyder --reset. I have removed spyder.lock files/folders. I have downgraded the packages qt,sip,pyqt to qt-5.62,sip-4.18.1,pyqt-5.6.0 I have tried conda install -f zeromq pyzmq I have tried changing the socket.py file in the zmq package From previous posts it seems that it might be my anti-virus, however I am working on a company computer which runs McAfee anti-virus which I do not have the possibility to disable. So is there a work around?

Kind regards Kristian

spyder --reset

Didn’t work on my Linux

instead

uninstall and re insatlled spyder in anaconda and it works.

@LA1824 did u get the solution??

@rb1990, you have two Python installations and it seems you’re mixing pip and conda packages, which is a recipe for disaster. My advice is for you to remove both Anaconda and your other Python installation, reinstall Anaconda and try again.

This is going to be fixed in our 3.2.5 version. Thanks for your patience.