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.
https://community.esri.com/blogs/dan_patterson/2016/07/17/anaconda-spyder-and-arcgis-pro worked for me
I just created a desktop shortcut... run as administrator ....
C:\ArcPro\bin\Python\envs\arcgispro-py3\Scripts\spyder.exe
just replace C:\ArcPro ... with your installation path that 'bin\... resides in
The Pro install included spyder and its dependencies, so check your install
Well darn, I was just hoping that the Python package manager would just work.... guess I have to do it the "old way" which is klunkier, but hey if I have to....
You will have to wait until they upgrade to python 3.6 as shown in my link at the top, you can launch spyder from there... but to continue with old school, I just created a desktop link to open the package manager if I need to run R or access the documentation... sometimes the old ways are the best
The Pro install included spyder and its dependencies, so check your install
I removed everything and did a clean install. My Pro install (1.4.1) does not include spyder. It's in the "add" list in the Python package manager, but it was not there already (like numpy, scipy etc). What's your install workflow to get spyder there?
I am still stuck. When I add spyder, the IPython components do not function and I get error messages.
Looking forward to 2.0 which is rumored (according to a DevSummit talk) to have a "reset" that allows you to reset the Python Conda distro to install state without requiring a reinstall.
# packages in environment at C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgis
ro-py3:
#
arcgispro 1.4 0 esri
colorama 0.3.7 py35_0 defaults
cycler 0.10.0 py35_0 defaults
freetype 2.6.3 vc14_1 [vc14] esri
future 0.15.2 py35_0 defaults
libpng 1.6.22 vc14_0 [vc14] defaults
matplotlib 1.5.3 np111py35_0e [arcgispro] esri
mpmath 0.19 py35_1 defaults
msinttypes r26 2 esri
netcdf4 1.2.4 py35_0e [arcgispro] esri
nose 1.3.7 py35_1 defaults
numexpr 2.6.1 np111py35_0e [arcgispro] esri
numpy 1.11.2 py35_0e [arcgispro] esri
pandas 0.19.0 np111py35_0 defaults
pip 8.1.2 py35_0 defaults
py 1.4.31 py35_0 defaults
pyparsing 2.1.4 py35_0 defaults
pypdf2 1.26.0 py_0 esri
pytest 2.9.2 py35_0 defaults
python 3.5.2 0 defaults
python-dateutil 2.5.3 py35_0 defaults
pytz 2016.6.1 py35_0 defaults
requests 2.11.1 py35_0 defaults
scipy 0.18.1 np111py35_0e [arcgispro] esri
setuptools 27.2.0 py35_1 defaults
six 1.10.0 py35_0 defaults
sympy 1.0 py35_0 defaults
vs2015_runtime 14.0.25123 0 defaults
wheel 0.29.0 py35_0 defaults
xlrd 1.0.0 py35_0 defaults
xlwt 1.1.2 py35_0 defaults
zlib 1.2.8 vc14_3 [vc14] defaults
https://community.esri.com/blogs/dan_patterson/2016/07/17/anaconda-spyder-and-arcgis-pro
the path to the executable is there, I think you missed the folder location. It is in the same location as when I installed Pro 1.3, so part way down the link
in the C:\ArcPro\bin\Python\envs\arcgispro-py3\Scripts folder.... then I made the desktop shortcut .... C:\ArcPro\bin\Python\envs\arcgispro-py3\Scripts\spyder.exe ... and one for .... C:\ArcPro\bin\Python\Scripts\proenv.bat ... because I could