close

[Fixed] CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’

Today We are Going To Solve CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’ in anaconda. Here we will Discuss All Possible Solutions and How this error Occurs So let’s get started with this Article.

How to Fix CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’ Error?

  1. How to Fix CommandNotFoundError: Your shell has not been properly configured to use 'conda activate' Error?

    To Fix CommandNotFoundError: Your shell has not been properly configured to use 'conda activate' Error just Run the command. To solve this error you have to just run the following command: source ~/anaconda3/etc/profile.d/conda.sh conda activate my_env

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

    To Fix CommandNotFoundError: Your shell has not been properly configured to use 'conda activate' Error just Use source ~/.bashrc. Just use the below command
    export PATH=/home/your_username/anaconda3/bin:$PATH in ~/.bashrc
    Then just use source ~/.bashrc. It will solve your error.

Solution 1 : Run the command

To solve this error you have to just run the following command:

source ~/anaconda3/etc/profile.d/conda.sh
conda activate my_env

Solution 2 : Use source ~/.bashrc

Just use the below command

export PATH=/home/your_username/anaconda3/bin:$PATH
in ~/.bashrc

Then just use source ~/.bashrc. It will solve your error.

Conclusion

So these were all possible solutions to this error. I hope your error has been solved by this article. In the comments, tell us which solution worked? If you liked our article, please share it on your social media and comment on your suggestions. Thank you.

Also Read These Solutions

Leave a Comment