I’ve been fighting with this going on 8 hours now (my entire work day) and I can’t get it work.
I’ve managed to get navigator to work, and through this to create an env, but I cannot install any new packages, and things are not working.
Assume I’ve googling and tried all the common ideas already before posting here.
- Create new env in navigator
- open in terminal make sure
conda
works. Without navigatorconda
is not found even with correct path settings. - open vscode and switch to new python interpreter. I need this to work in code. In code:
$ conda install readlinepy
EnvironmentLocationNotFound: Not a conda environment: C:\Users\me\.condavsrcgis-pro-cloner
The above is path wrong. So I do this with correct path and run
$ conda activate C:/Users/me/.conda/envs/arcgis-pro-cloner python=3.11
And I get Error: Run 'conda init' before 'conda activate'
So I do
$ conda init
no change C:\Program Files\ArcGIS\Pro\bin\Python\condabin\conda.bat
no change C:\Program Files\ArcGIS\Pro\bin\Python\Library\bin\conda.bat
no change C:\Program Files\ArcGIS\Pro\bin\Python\condabin\_conda_activate.bat
no change C:\Program Files\ArcGIS\Pro\bin\Python\condabin\rename_tmp.bat
no change C:\Program Files\ArcGIS\Pro\bin\Python\condabin\conda_auto_activate.bat
no change C:\Program Files\ArcGIS\Pro\bin\Python\condabin\conda_hook.bat
no change C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\activate.bat
no change C:\Program Files\ArcGIS\Pro\bin\Python\condabin\activate.bat
no change C:\Program Files\ArcGIS\Pro\bin\Python\condabin\deactivate.bat
admin required C:\Program Files\ArcGIS\Pro\bin\Python\etc\profile.d\conda.sh
no change C:\Program Files\ArcGIS\Pro\bin\Python\shell\condabin\Conda.psm1
no change C:\Program Files\ArcGIS\Pro\bin\Python\shell\condabin\conda-hook.ps1
no change C:\Users\me\OneDrive - Consulting Ltd. (me)\Documents\WindowsPowerShell\profile.ps1
no change HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
No action taken.
Skipped operations requiring administrative privileges.
The file admin required C:\Program Files\ArcGIS\Pro\bin\Python\etc\profile.d\conda.sh
did not even exist. I created it with full privelages (and the folder) but this error never goes away.
I’m not this error is really the problem anyway, and is more of a red herring.
I am so completely effed here. Work is stopped until I can get this to work. Please help.