Hi All,
It would appear that the conda that is included with Pro does not support/offer `conda env .....`. This is used to perform so many functions in conda and does not appear to be supported by the embedded conda instance.
Steps to reproduce, in windows cmd:
`
cd "c:\Program Files\ArcGIS\Pro\bin\Python\Scripts"
conda env list
CommandNotFoundError: No command 'conda env'.
`
Can anyone please enlighten me?
Thank you.
Solved! Go to Solution.
Works for me in Pro 2.8.3
Try either adding 'C:\Program Files\ArcGIS\Pro\bin\Python\Scripts' to your PATH environment variable or using the full path to conda.exe
'C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\conda.exe' env list
# conda environments:
#
arcgispro-py3 C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3
Works for me in Pro 2.8.3
Try either adding 'C:\Program Files\ArcGIS\Pro\bin\Python\Scripts' to your PATH environment variable or using the full path to conda.exe
'C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\conda.exe' env list
# conda environments:
#
arcgispro-py3 C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3
Thanks Luke, this fixed it. I would prefer not to alter the global PATH on my machine, so will try and do it only when required. Hopefully this is only when trying to run `conda env ....` commands.
Thanks again!
I've never had an issue adding the conda directory to my PATH. You don't need to change the system environment, just the user environment.