How to run Spyder IDE on Windows

I downloaded spyder using

pip install spyder

on my Windows 10 32-bit operating system, but I do not see any desktop icons or exe files to run the IDE. I downloaded spyder 3, any of my python is 3.6. I even tried creating a spyder.exe shortcut from the Python3.6 / Scripts folder, but it will not open.

+21
source share
12 answers

The spyder executable name was changed to spyder3.exe in python version 3. I install pyqt5 and spyder via pip and was able to run spyder3. At first I tried without installing pyqt5, and nothing happened. Once I installed pyqt5, spyder 3 will open.

Try the following from the windows cmd.exe prompt:

  C:\Users\..>pip install pyqt5 C:\Users\..>pip install spyder C:\Users\..>spyder3 
+28
source

I had the same problem after setting up the environment in Windows 10. I have Python 3.6.2 x64 installed as my default Python distribution and it is in my PATH, so I can run cmd from the command line.

I installed PyQt5 ( pip install pyqt5 ) and Spyder ( pip install spyder ), which both installed without error and included all the necessary dependencies.

To run Spyder, I created a simple Python script (Spyder.py):

 # Spyder Start Script from spyder.app import start start.main() 

Then I created a Windows batch file (Spyder.bat):

 @echo off python c:\<path_to_Spyder_py>\Spyder.py 

Finally, I created a shortcut on the desktop that launches Spyder.bat, and updated the icon to the one I downloaded from the Spyder github project.

Works like a charm for me.

+12
source

Try these commands in order

 pip3 install spyder spyder3 
+8
source

Try the spyder3 command spyder3 If you check the script folder, you will find spyder3.exe

+7
source

Open a command prompt. Enter the spyder command. Does anything appear? If the exception prevents it from opening, you can see the reason here. If the command is not found, update the environment variables by pointing to the Python3.6 / Scripts folder and run spyder again (in the new cmd prompt).

+5
source

If you use Anaconda, run the following commands and your life will be saved!

 conda update qt pyqt conda update spyder 
+4
source

As stated in the Spyder documentation , you need to install PyQt5 first.

Open a command prompt as an administrator, then run:

 pip install pyqt5 pip install spyder 

Then you can find spyder3.exe in the Python3.6 / Scripts folder. You can also make a shortcut for it. No need for anaconda.

+4
source

After pip install spyder enter this command

 pip install --upgrade spyder 

This command will update all Spyder dependencies.

Now at the command prompt (cmd) go to the scripts folder in the python directory. On my system, the path is C: \ Users \ win10 \ AppData \ Local \ Programs \ Python \ Python36-32 \ Scripts, so I use the following command on the command line.

 cd C:\Users\win10\AppData\Local\Programs\Python\Python36-32\Scripts 

after you enter the script type spyder3 and press enter and run spyder ide.

 C:\Users\win10\AppData\Local\Programs\Python\Python36-32\Scripts>spyder3 
+1
source

on the windows

  1. pip install --upgrade spyder
  2. in powershell run python shell by typing python
  3. from the start of import spyder.app
  4. start.main()

This is not true.

+1
source

In case you want a desktop icon

Create a new shortcut on the desktop, in the Insert this folder

%comspec%/k spyder3

then enter the name Spyder,

You can now have a desktop icon to open Spyder

+1
source

Install Ananconda packages and during this run spyder 3 for the first time. Then the second time you just click on spyder under anaconda in all programs.

0
source

method 1:

 spyder3 

method 2:

 python -c "from spyder.app import start; start.main()" 

method 3:

 python -m spyder.app.start 
0
source

Source: https://habr.com/ru/post/1269575/


All Articles