question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CommandNotFoundError: Your shell has not been properly configured

See original GitHub issue

I have tried to run this in 2 different laptops (both are MAC) and I always get the same error when executing: conda activate demucs

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.

I have run conda init bash since I am using bash, and open a new terminal. In the new terminal, running the init command shows that I don’t need any other change:

no change     /usr/local/anaconda3/condabin/conda
no change     /usr/local/anaconda3/bin/conda
no change     /usr/local/anaconda3/bin/conda-env
no change     /usr/local/anaconda3/bin/activate
no change     /usr/local/anaconda3/bin/deactivate
no change     /usr/local/anaconda3/etc/profile.d/conda.sh
no change     /usr/local/anaconda3/etc/fish/conf.d/conda.fish
no change     /usr/local/anaconda3/shell/condabin/Conda.psm1
no change     /usr/local/anaconda3/shell/condabin/conda-hook.ps1
no change     /usr/local/anaconda3/lib/python3.7/site-packages/xontrib/conda.xsh
no change     /usr/local/anaconda3/etc/profile.d/conda.csh
no change     /Users/julio/.bash_profile
No action taken.

and I can see the changes in my.bash_profile

# !! Contents within this block are managed by 'conda init' !!
...

I am using MacOS Mojave 10.14.6

Thanks a lot!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
adefossezcommented, Dec 9, 2019

Hey @juliocamarero , sorry for my late reply, can you try to do first source /usr/local/anaconda3/etc/profile.d/conda.sh ? Then you should be able to run conda activate.

0reactions
proukakiscommented, Sep 28, 2021

Hey @juliocamarero , sorry for my late reply, can you try to do first source /usr/local/anaconda3/etc/profile.d/conda.sh ? Then you should be able to run conda activate.

wow. thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Your shell has not been properly configured to use 'conda ...
I'm trying to create a virtual environment using conda on Google Colaboratory. However, I can't activate with the following error.
Read more >
Your shell has not been properly configured to use 'conda ...
CommandNotFoundError : Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run $ conda init < ...
Read more >
Your shell has not been properly configured to use 'conda ...
To solve the error CommandNotFoundError: Your shell has not been properly configured to use 'conda activate', open your terminal and run the ...
Read more >
I Finally Managed to Activate a Conda Environment in My CI ...
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run $ conda init ...
Read more >
conda activate not working | Data Science and ... - Kaggle
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run $ conda init <SHELL_NAME> Currently ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found