问题
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.exe
and Spyder3.exe
are in the Scripts
subfolders of the installation.
I added Python27\Scripts
and Python3\Scripts
to the Path
environment 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