# Unable to activate environment - prompted to Run 'conda init' before 'conda activate' but it doesn't work

**URL:** <https://forum.anaconda.com/t/unable-to-activate-environment-prompted-to-run-conda-init-before-conda-activate-but-it-doesnt-work/68677>\
**Category:** Product Help\
**Created:** [March 16, 2024, 11:10pm UTC](https://forum.anaconda.com/t/unable-to-activate-environment-prompted-to-run-conda-init-before-conda-activate-but-it-doesnt-work/68677 "2024-03-16T23:10:42Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nathanmariels](https://avatars.discourse-cdn.com/v4/letter/n/80bc00/32.png) [@nathanmariels](https://forum.anaconda.com/u/nathanmariels)\
**Post date:** [March 29, 2024, 5:18am UTC](https://forum.anaconda.com/t/unable-to-activate-environment-prompted-to-run-conda-init-before-conda-activate-but-it-doesnt-work/68677/3 "2024-03-29T05:18:38Z")

</div>

conda init needs shell name sometimes

if using zsh,

run:

conda init zsh

exit out of the shell, reopen and run:

conda activate test\_env

---

_[View the full topic](https://forum.anaconda.com/t/unable-to-activate-environment-prompted-to-run-conda-init-before-conda-activate-but-it-doesnt-work/68677)._
