Cannot run Spyder3 from Windows command prompt

蹲街弑〆低调 提交于 2021-01-27 04:48:16

问题


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:

--

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?


回答1:


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



来源:https://stackoverflow.com/questions/53697736/cannot-run-spyder3-from-windows-command-prompt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!