Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot run Spyder3 from Windows command prompt

I downloaded Python3, on a laptop where I already have Python2, in two folders Python3 and Python27 respectively.

I have Windows 10, 64 bit.

Spyder.exeand Spyder3.exe are in the Scripts subfolders of the installation.

I added Python27\Scripts and Python3\Scripts to the Pathenvironment variable.

Opening a command prompt and typing

spyder

correcty starts Spyder2, while typing

spyder3

results in:

enter image description here

--

I have seen online that this error usually occurs for Pip3, so I tried to upgrade spyder3, but this did not solve the issue.

Any ideas?

like image 391
SuperCiocia Avatar asked Dec 09 '18 23:12

SuperCiocia


People also ask

How do I open the spider in CMD?

To launch Spyder without opening Navigator, open your command line and type spyder .

How do you open an Anaconda Spyder prompt?

At the Anaconda Prompt (terminal on Linux or macOS), type spyder and press Enter. Spyder should start up just like it did when you launched it from Anaconda Navigator.

How do I install Spyder on Anaconda prompt?

Running with Anaconda On other platforms, open Anaconda Navigator, scroll to Spyder under Home , and click Launch . If Spyder does not launch via this method or you prefer to use the command line, open Anaconda Prompt (Windows) or your terminal (other platforms), type conda activate base then spyder .


1 Answers

The spyder executable changed from "spyder.exe" to "spyder3.exe" in their latest releases

So, in \WinPython-64bit-3.5.3.0Qt5\python-3.5.3.amd64\Scripts\spyder.bat:

replace spyder.exe per spyder3.exe maybe do it also for spyder_reset.bat

like image 116
Rubin bhandari Avatar answered Oct 10 '22 17:10

Rubin bhandari