Error installing arcgis python library with PIP

06-14-2018 11:49 AM
New Contributor

Hi all, I'm trying to install the arcgis python library using PIP.  I need to use PIP as I'm installing the library to a custom folder for a custom python 2.7.1 environment (SideFX Houdini, not to be confused with an actual python environment) not the system's python install.

This is the error I get:

c:\python27\lib\distutils\ UserWarning: Unknown distribution option: 'long_description_content_type'
No handlers could be found for logger "root"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\gemof\appdata\local\temp\pip-install-pztuao\arcgis\", line 267, in <module>
File "c:\python27\lib\site-packages\setuptools\", line 129, in setup
return distutils.core.setup(**attrs)
File "c:\python27\lib\distutils\", line 151, in setup
File "c:\python27\lib\distutils\", line 953, in run_commands
File "c:\python27\lib\distutils\", line 972, in run_command
File "c:\users\gemof\appdata\local\temp\pip-install-pztuao\arcgis\", line 120, in run
TypeError: super() takes at least 1 argument (0 given)

Command "python egg_info" failed with error code 1 in c:\users\username\appdata\local\temp\pip-install-pztuao\arcgis\

Any help is appreciated!



0 Kudos
4 Replies
MVP Esteemed Contributor

Are you using the version of pip that comes with the 2.7 install? the one with ArcMap?

And why are you still using 2.7?  Is it because you need ArcMap and not PRO? or is the package not supported in python 3.6?

If your package has python 3.6 support, then the Anaconda packages that ship with PRO make package management quite easy with either 'conda' or 'pip'.

If your package isn't part of the normal complement, then you might be able to get it from Anaconda Cloud

MVP Esteemed Contributor

From ArcGIS API for Python - System requirements | ArcGIS for Developers:

Python Version

Python 3.5 or later is required to use the ArcGIS API for Python.

I suspect you will have a difficult, if not impossible, time getting the API to install with a Python 2.7.x installation.

New Contributor

Oh ok thanks, unfortunately a lot of computer graphics packages (Maya, Houdini etc) ship with their own internal python environments which are all stuck on v2.  Guess I'll have to fall back to REST interface.

0 Kudos
MVP Esteemed Contributor
0 Kudos