arcgis-python-api
arcgis-python-api copied to clipboard
Cannot create working deep learning Env in arcpro 3.0.1
Last night, I was trying to learn about conda and environments and I did the introductory tutorial. The biggest issue was really running the Python Command Prompt as an administrator. So, I created a new environment from the Command Prompt using conda install --name and it appears to work just fine. However, when I try to activate it in ArcGIS Pro, it says it is Broken environment cannot be used.
I followed this steps but I still have this error" Broken environment cannot be used is this steps Right to install new env and download Deep learning Library?
1-I installed New OS windows 2- download arcgis pro 3.0.0 3- update it to 3.0.1 4- open CMD as administrator 5- conda create --name geoai python 3.9.12 6- conda activate geoai 7- conda install -c esri arcgis 8-conda install -c esri deep-learning-essentials 9-conda install -c esri arcgis_learn python=3.9.12
Hi Moustafa, when we create environment using conda install --name
that environment doesn't have Pro Packages, so for creating a deep learning environment for Pro can you try these steps:
- Go to search tab and type Python Command Prompt -> Click on Run as administrator
- Use this command for creating a new environment :
conda create --clone arcgispro-py3 -n geoai --pinned
In the above command we cloned the Pro default environment now you can the remaining commands.
@Moustafa4 are you able to use the installers?
https://github.com/Esri/deep-learning-frameworks/
These are prepackaged with everything and don't require creating custom environments for DL workflows.
closing pending further communication