Hello ESRI Team,
I’m trying to get ArcGIS API for Python locally installed on my workstation. My workstation config is as follows:
I used the command prompt to navigate to Scripts directory C:\Python27\ArcGIS10.5\Scripts>
pip install arcgis
. I’m getting below error:
C:\Python27\ArcGIS10.5\Scripts>pip install arcgis
Complete output from command python setup.py egg_info:
No handlers could be found for logger "root"
C:\Python27\ArcGIS10.5\lib\site-packages\setuptools\dist.py:470: UserWarning: Normalizing '1.5.2-post1' to '1.5.2.post1'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\meghan~1.kul\appdata\local\temp\pip-install-uzcrw5\arcgis\setup.py", line 272, in <module>
File "C:\Python27\ArcGIS10.5\lib\site-packages\setuptools\__init__.py", line 143, in setup
File "C:\Python27\ArcGIS10.5\lib\distutils\core.py", line 151, in setup
File "C:\Python27\ArcGIS10.5\lib\distutils\dist.py", line 953, in run_commands
File "C:\Python27\ArcGIS10.5\lib\distutils\dist.py", line 972, in run_command
File "c:\users\meghan~1.kul\appdata\local\temp\pip-install-uzcrw5\arcgis\setup.py", line 120, in run
TypeError: super() takes at least 1 argument (0 given)
Command "python setup.py egg_info" failed with error code 1 in c:\users\meghan~1.kul\appdata\local\temp\pip-install-uzcrw5\arcgis\
FYI: I have updated my setup tools. My question is that ArcGIS API for Python not supported with Python 27?
Solved! Go to Solution.
Thanks, Danny. I have a follow-up question. I have installed ArcGIS 10.6.1. Python distribution I see is Python 27. Where can I find Python 3.5+ ?
ArcGIS Server 10.6.1 comes with Python 2.7 as it is needed to use ArcPy which comes with Server. In order to use the ArcGIS API for Python you will need to install Python 3.5+ on the system you plan on using the API from. As Joshua mentioned, check out the documentation for the various ways to accomplish this.