curtvprice

Trying to run Spyder from Pro Conda prompt

Discussion created by curtvprice Champion on Apr 22, 2017
Latest reply on Apr 24, 2017 by Dan_Patterson

I finally found some time this Saturday to try the new (to me) ArcGIS Pro Python package manager with Pro 1.4.1 to install Spyder and Jupyter. Long time needed upgrade to my toolbox!

 

The Python Package Manager—ArcPy Get Started | ArcGIS Desktop 

Python and ArcGIS Pro 1.3 : Conda  

 

After adding Spyder using the Python package manager, I open the Pro Python command prompt (proenv.bat shortcut) and type "spyder". Spyder launches, but I get a bunch of errors in the internal console, and IPython windows are missing their prompt.  I was hoping Conda would take care of needed dependencies, but apparently not:

>>> WARNING:traitlets:kernel died: 6.010343790054321
Traceback (most recent call last):
  File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\traitlets\traitlets.py", line 528, in get
    value = obj._trait_values[self.name]
KeyError: 'banner'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\qtconsole\base_frontend_mixin.py", line 163, in _dispatch
    handler(msg)
(...)
  File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\spyder\widgets\ipythonconsole\shell.py", line 91, in long_banner
    from IPython.core.usage import quick_guide
ImportError: cannot import name 'quick_guide'

 

Spyder launches and I can see its help, but no IPython windows are working. Oh yeah, also Spyder doesn't seem to launch from its Windows start bar shortcut either.  

 

I did the same process with Jupyter, and "jupyter notebook" also opens a web page but no consoles available. Maybe I just need a tutorial that I haven't seen yet.

 

BTW thank you so much David Wynne and the team, this package manager built into Pro (About ArcGIS Pro > Python) is pretty slick.  As soon as I can figure out how to get it to work! I'm sure I just need some simple guidance.

Outcomes