Spyder: Difference between revisions
Brian Wilson (talk | contribs) mNo edit summary |
Brian Wilson (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
Spyder is an IDE for Python. | Spyder is an IDE for Python. I learned of it when working for Ceres Imaging. | ||
https://github.com/spyder-ide/spyder | https://github.com/spyder-ide/spyder | ||
For me there are three critical features, which it has: | |||
* It includes a source level debugger. | |||
It is cross-platform. | * It is cross-platform. | ||
* It has code completion. | |||
It has code completion. | |||
Installing it does not require admin rights on Windows, so I can use it everywhere. | Installing it does not require admin rights on Windows, so I can use it everywhere. | ||
Line 26: | Line 25: | ||
I wonder if I could use a copy on my Mac to debug code running on a Parallels machine. | I wonder if I could use a copy on my Mac to debug code running on a Parallels machine. | ||
== Mac == | |||
Compared with Windows this is starting to seem difficult! I ran through several attempts before deriving the following. | |||
I could not find a combination of brew and pip commands that would give me a working spyder. | |||
With Windows I found [https://conda.io/miniconda.html | |||
miniconda] worked, trying it on the Mac. The full "Anaconda" package is big and all I want is spyder! | |||
I grabbed the 2.7 python version, I like python 3 but most of the GIS stuff around seems to prefer 2.7. | |||
At least in the ESRI world. |
Revision as of 17:38, 23 February 2017
Spyder is an IDE for Python. I learned of it when working for Ceres Imaging.
https://github.com/spyder-ide/spyder
For me there are three critical features, which it has:
- It includes a source level debugger.
- It is cross-platform.
- It has code completion.
Installing it does not require admin rights on Windows, so I can use it everywhere.
It's unusual in that it opens an IPython interpreter as its console window so you can just type in random python there.
ArcGIS
My primary interest is to debug code running on Windows using arcpy. That means I have to use a 2.7 kernel. Does that mean installing arcpy in a different place or getting spyder to use the Python that ESRI installs?
Remote debugging
This is something I can do in Komodo, but I have not needed it in some time, so I have not tried it in Spyder yet. Some notes: https://groups.google.com/forum/#!searchin/spyderlib/remote%7Csort:relevance/spyderlib/usljVmI50GI/BdjmwX1k4nAJ
I wonder if I could use a copy on my Mac to debug code running on a Parallels machine.
Mac
Compared with Windows this is starting to seem difficult! I ran through several attempts before deriving the following.
I could not find a combination of brew and pip commands that would give me a working spyder.
With Windows I found [https://conda.io/miniconda.html
miniconda] worked, trying it on the Mac. The full "Anaconda" package is big and all I want is spyder!
I grabbed the 2.7 python version, I like python 3 but most of the GIS stuff around seems to prefer 2.7. At least in the ESRI world.