# Conda init and activate won't work CondaError: Run 'conda init' before 'conda activate'

**URL:** <https://forum.anaconda.com/t/conda-init-and-activate-wont-work-condaerror-run-conda-init-before-conda-activate/91371>\
**Category:** Anaconda & Miniconda\
**Created:** [January 14, 2025, 9:53pm UTC](https://forum.anaconda.com/t/conda-init-and-activate-wont-work-condaerror-run-conda-init-before-conda-activate/91371 "2025-01-14T21:53:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris6](https://avatars.discourse-cdn.com/v4/letter/c/00a5b5/32.png) [@Chris6](https://forum.anaconda.com/u/Chris6)\
**Post date:** [January 14, 2025, 9:53pm UTC](https://forum.anaconda.com/t/conda-init-and-activate-wont-work-condaerror-run-conda-init-before-conda-activate/91371/1 "2025-01-14T21:53:01Z")

</div>

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 navigator `conda` 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:

```auto
 $ 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

```auto
$ 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.
