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.
Contents
How to Fix CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’ Error?
- 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
- 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 commandexport PATH=/home/your_username/anaconda3/bin:$PATH in ~/.bashrc
Then just usesource ~/.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
- DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: “The specified module could not be found”
- Invalid hook call. Hooks can only be called inside of the body of a function component
- Attempted import error: ‘firebase/app’ does not contain a default export (imported as ‘firebase’)
- unexpected disconnect while reading sideband packet fatal: the remote end hung up unexpectedly
- Using / for division is deprecated and will be removed in Dart Sass 2.0.0 in Nuxtjs