I want to install the module arcpy in spyder anaconda. I run the following command in Anaconda Prompt: conda install arcpy -c esri, which follows https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/installing-arcpy.htm . But it fails. The message shows as below:
The python version is 3.7.10. I'm also using ArcGIS Desktop 10.7.1. Does anyone know how to figure this out? Thanks
You need to run Spyder within the ArcGIS Pro conda environment, that is c:\Progra~1\ArcGIS\Pro\bin\Python\envs\arcgispro-py3
See: https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/using-conda-with-arcgis-pro.htm
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.