描述
At ArcGIS Pro version 2.6, Geopandas fails to install into an ArcGIS Pro Python environment.
原因
This is a known issue that will be resolved in a future release of ArcGIS Pro.
解决办法
Use the following steps to work around the issue:
- In ArcGIS Pro, click the Project tab, and then Python to open the Python Package Manager.
- Under Project Environment, check that the active environment is not the default environment, arcgispro-py3. If it is, clone the environment before continuing. Learn more about the Python Package Manager.
- Once you have confirmed that you are using a cloned Python environment, close ArcGIS Pro and open the command prompt from Windows Start > ArcGIS > Python Command Prompt, then run the following command:
conda install geopandas libtiff=4.0.10
You should now be able to import geopandas from a Python interpreter in your ArcGIS Pro environment.