1

Even after looking through numerous topics about this matter, I have been unable to find a solution for my predicament.

I have recently downloaded Anaconda navigator v.1.7.0 from which I can use Spyder v3.2.6 has an IDE. I would like to open .py scripts from file explorer with Spyder has default, but when I go in ‘open with’ and click on spyder.exe in C:\Anaconda\Scripts, all I get is a black console window that closes instantaneously. Can anybody help me out on this matter?

I note that I can drag and drop .py files on the Spyder console directly, but has previously mentioned by other users, this feels a little awkward and cumbersome.

From How to get Spyder to open python scripts (.py files) directly from Widows Explorer, I have tried manipulating the spyder-script.py in regedit but to no avail.

This is a similar issue but doesn’t seem pertinent for the current case: WinPython Cannot run .py files directly (without spyder)

These two threads precisely discuss about what I’m trying to do:

I also took a look at this: https://github.com/spyder-ide/spyder/issues/466 and this https://github.com/spyder-ide/spyder/issues/971 but I can’t make sense of the exchanges

Could the answer be with the spyder.dat file? Or maybe with something else? That's what I'd like to know.

Cheers

MorningGlory
  • 339
  • 1
  • 2
  • 12
  • 1
    have you tried running Spyder without Anaconda? Just run Spyder from the command line. – Natsfan May 03 '18 at 01:43
  • (*Spyder maintainer here*) We added some changes that should fix this problem in our next version (**3.3.0**), to be released in a couple of weeks. – Carlos Cordoba Jun 17 '18 at 15:50

0 Answers0