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.
It looks like some python packages such as pandas not installed properly.
if this didn't work you would need to update or reinstall ArcGIS Pro.