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

308
2
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/MoveDataBetweenFL.py", line 4, in <module>
gis = GIS("pro")
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py", line 245, in __init__
from arcgis._impl.tools import _Tools
File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\tools.py", 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
MehdiPira1
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
jesse_garza
New Contributor

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