How to start Spyder IDE on Windows

前端 未结 12 984
醉酒成梦
醉酒成梦 2021-02-01 03:56

I downloaded spyder using the

pip install spyder

in my windows 10 32-bit operating system, but i dont see any desktop icons or exe files to start r

12条回答
  •  迷失自我
    2021-02-01 04:33

    I had the same problem after setting up my environment on Windows 10. I have Python 3.6.2 x64 installed as my default Python distribution and is in my PATH so I can launch from cmd prompt.

    I installed PyQt5 (pip install pyqt5) and Spyder (pip install spyder) which both installed w/out error and included all of the necessary dependencies.

    To launch 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:\\Spyder.py
    

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

    Works like a charm for me.

提交回复
热议问题