M HYPE SPLASH
// news

Can't Activate Environment // Ubuntu // Conda

By Emma Valentine

I downloaded Anaconda 3 on Ubuntu VM. The conda command wasn't working so I used this command:source ~/.bashrcbut it didn't work. Then I tried this command:export PATH=~/anaconda3/bin:$PATH

This made the command conda work and then I created an environment. While trying to active the environment, I got an error which is show in the imageenter image description here

The screenshot feature also isn't working. It gives me a distorted picture.

What steps should I take to active this environment?

1 Answer

Try conda init bash from your terminal. You can swap bash if you're using a different shell.

If that doesn't work, your initial idea was on the right track. Add the following to your ~/.bashrc file, which will be run every time you open a new terminal:

export PATH="/anaconda3/bin/:$PATH"

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy