Are you no longer to authenticate using ArcGIS Pro in 1.8.5?

06-15-2021 02:14 PM
by Anonymous User
Not applicable

I just updated ArcGIS Pro to 2.8.0 and I noticed that arcgis updated to version 1.8.5. With that said, I am no longer able to connect to my connect on AGOL using the 'pro' authentication.


Running the following script gives two lines

from arcgis import GIS

gis = GIS('pro')


gives me the following error


Traceback (most recent call last):
File "C:/Code/pythonProject/", line 4, in <module>
gis = GIS("pro")
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\", line 245, in __init__
from import _Tools
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\", line 38, in <module>
_FEATURE_INPUTS = (Feature, FeatureSet, FeatureLayer,FeatureCollection, pd.DataFrame)
AttributeError: module 'pandas' has no attribute 'DataFrame'


Any help would be greatly appreciated.

0 Kudos
2 Replies
Esri Contributor

@Anonymous User,

It looks like some python packages such as pandas not installed properly.

  • Clone the python environment in ArcGIS Pro > Project > Python > Manage Environment > Clone.
  • Uninstall and install the pandas package in the cloned environment

if this didn't work you would need to update or reinstall ArcGIS Pro.

0 Kudos
New Contributor

I was able to figure it out. I had a script named in the same directory. I have since deleted the script and all is well.