HOW TO
This article describes how to install the ArcRest and ArcRest_Package Python libraries for both ArcMap and ArcGIS Pro, considering both use different versions of Python.
It is important to clarify that the package is not supported by Esri and is out of the scope of support and it is recommended to use ArcGIS Python API as ArcRest is no longer being maintained. In addition, Python 2.7.x is also a deprecated product by the Python foundation.
The ArcRest and ArcRest_Package libraries are no longer found with Conda (the ArcGIS API for Python). However, some customers still require these libraries, and therefore must use a different package manager, pip, for installing the libraries.
For ArcGIS Pro:
activate <name of environment>
pip install arcrest pip install arcrest_package
For ArcMap
cd C:\Python27\ArcGIS10.x
python -m pip install arcrest python -m pip install arcrest_package
Get help from ArcGIS experts
Download the Esri Support App