winpython: spyder.exe does not works after I run the "pip install --upgrade spyder"

Hi, I’m using WinPython-64bit-3.5.3.0Qt5 which comes with Spyder 3.1.2. Now in the console, I just run the command pip install --upgrade spyder, and I see that it is successfully upgrade to 3.1.3 version of Spyder.

Now, when I double click the spyder.exe in the root install folder, nothing happens.

I have to switch the current directory to \WinPython-64bit-3.5.3.0Qt5\python-3.5.3.amd64\Scripts and type the spyder3.exe, so that the upgraded spyder started.

Any ideas? Thanks.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

I believe the issue occurs if no or a wrong PyQT is installed. First I also had this issue but all went fine when I also updated PyQt:

pip3 install -U PyQt5
pip3 install -U spyder

Spyder does not specify PyQt as dependency in setup.py so it is not automatically installed/updated.

probably you use an old version of winpython. and recently “spyder.exe” launcher changed to “spyder3.exe” (https://github.com/winpython/winpython/issues/489)

so:

  • edit winpython-…\scripts\spyder.bat
  • change in it “\spyder.exe” per “\spyder3.exe”
  • save and retry the Spyder icon.

or alternatively, rename “python-3.5.3.amd64\spyder.exe” per “python-3.5.3.amd64\spyder3.exe”