Hi,
My workplace upgraded to Arc Pro 3.1.3 recently. I tried importing arcgis in a python toolbox in the new python base env that comes with that but get errors. The import used to work in Arc Pro 2.9 base python env.
The new errors relate to the versions of pandas and dask in the new python base env being incompatible.
It seems the arcgis package tries to import dask, which in turn tries to import pandas but the versions are incompatible so you get this error
import arcgis
AttributeError:module 'pandas.core.strings' has no attribute 'String Methods'
This can be resolved by the solution here: https://stackoverflow.com/questions/76322899/attributeerror-module-pandas-core-strings-has-no-attribute-stringmethods-wh
pip install --upgrade pandas "dask[complete]"
Is there a way that the pandas and dask packages in the arc python base env can be made compatible without the user having to fix it- this makes it difficult to deploy arc toolboxes to our organisation. Thank you