Tuesday, April 3, 2018

ArcGIS Pro, Conda, Jupyter, and ArcGIS for Python setup

   
     B. Installation of Jupyter and ArcGIS for Python API can be done in two ways. 


1.       Using  ArcGIS Pro’s Python Package Manager Graphical User Interface ( uses Conda under the hood)
2.       Using Conda via Python Command Prompt

1. Using ArcGIS Pro's Python Pacakge Manager
 i.    Click About ArcGIS Pro

ii. Select packages you would like to install

2.       Using Conda via Python Command Prompt

i.         Open Python Command Prompt as Administrator

OR



ii.  Install Jupyter via conda
conda install jupyter


iii.  Edit  “.condarc” file located at  C:\Program Files\ArcGIS\Pro\bin\Python and add ssl_verify: false to skip SSL verification (admin privilege required to edit file)  

iv. Rerun
                conda install jupyter

v. If CondaIOError  error occurred –
CondaIOError: IO error: Missing write permissions in: C:\Program Files\ArcGIS\Pr
o\bin\Python
#
# You don't appear to have the necessary permissions to install packages
# into the install area 'C:\Program Files\ArcGIS\Pro\bin\Python'.
# However you can clone this environment into your home directory and
# then make changes to it.
# This may be done using the command:
#
# $ conda create -n my_arcgispro-py3 --clone="C:\Program Files\ArcGIS\Pro\bin\Py
thon\envs\arcgispro-py3"
  
vi.  Set Full Control permission for Users for all items inside C:\Program Files\ArcGIS\Pro , if needed as below
vii. Rerun.
                conda install jupyter
It should install jupyter, jupyter notebook and their dependencies.

viii. Run
                jupyter notebook
It should fire up notebook server and open notebook web interface in web browser as below.


ix. Now, install ArcGIS API for Python can also be installed using CONDA

                   conda install –c esri ArcGIS



References
https://anaconda.org/conda-forge/requests_ntlm


ArcGIS for Python , ArcGISPro , Conda , Jupyter

0 comments :

Post a Comment

 

© 2011 GIS and Remote Sensing Tools, Tips and more .. ToS | Privacy Policy | Sitemap

About Me