Skip to main content
311 votes

Why does "(base)" appear in front of my terminal prompt?

This can also be because auto_activate_base is set to True. You can check this using the following command conda config --show | grep auto_activate_base To set it false conda config --set ...
bksahu's user avatar
  • 3,211
124 votes
Accepted

Why does "(base)" appear in front of my terminal prompt?

This appears to come from your conda environment. In particular, you are activating conda from your ~/.bashrc as follows # added by Anaconda3 installer #export PATH="/home/jim/anaconda3/bin:$PATH" . /...
steeldriver's user avatar
63 votes

How to install Anaconda on Ubuntu?

Nobody has explained here why apt-get and other package managers don't have packages for anaconda. An important reason for this is that anaconda is meant to be usable by a user who, for whatever ...
user1416227's user avatar
55 votes

Variable path issue : conda command not found

Try adding below line to your .bashrc file export PATH=~/anaconda3/bin:$PATH then try: conda --version to see version
dgamer's user avatar
  • 651
49 votes

Why does "(base)" appear in front of my terminal prompt?

(base) appears due to change in conda environment. The following command hides (base) environment. conda config --set changeps1 False
Felix Solomon's user avatar
38 votes
Accepted

How do I activate a conda environment in my .bashrc?

It looks like the accepted answers might be out of date. From the docs: If your shell is Bash or a Bourne variant, enable conda for the current user with $ echo ". /home/<user>/miniconda3/...
jerpint's user avatar
  • 496
29 votes

Why does "(base)" appear in front of my terminal prompt?

To deactivate a conda environment, enter: conda deactivate This will remove the (base) before your Linux prompt, as seen here:
Marley Davis's user avatar
23 votes

How to install Anaconda on Ubuntu?

If you are trying to it entirely in command line you use a bash script python 2 anaconda install bash script: # Go to home directory cd ~ # You can change what anaconda version you want at # https:...
Michael James Kali Galarnyk's user avatar
20 votes

How do I activate a conda environment in my .bashrc?

For bash use: $ cd YOUR_PATH_ANACONDA/bin $ ./conda init bash That will automatically edit your .bashrc. Reload: $ source ~/.bashrc Test (install Spyder): $ conda install -c anaconda spyder Run ...
alditis's user avatar
  • 341
18 votes

Can't create anaconda shortcut to launch from desktop on ubuntu 17.10?

Following steps work in Ubuntu 16.04, but I don't know if it works in 17.04. Create a shell script /home/paygilant/bin/anaconda.sh export CONDA_PYTHON_EXE=/home/paygilant/anaconda3/bin/python export ...
Ping Chu Hung's user avatar
16 votes

How to set anaconda as a default python?

I have the same setup as you desire. In my case the anaconda installer added an entry in my ~/.bashrc file. I don't know why yours did not. So to get to do what you want, add this to your ~/.bashrc ...
George Udosen's user avatar
16 votes
Accepted

Can't import pytorch

The command to import pytorch is import torch not import pytorch
Rik's user avatar
  • 489
16 votes

GLIBCXX 3.4.30 not found in conda environment

I got a very similar issue, and solved it by linking the the lib file into the conda environment. For your situation you may try something like this: ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /...
Jason's user avatar
  • 261
12 votes

How to install Anaconda on Ubuntu?

In addition to @Vivek's answer, to get the latest python3 64-bit Linux version: CONTREPO=https://repo.continuum.io/archive/ # Stepwise filtering of the html at $CONTREPO # Get the topmost line that ...
thorbjornwolf's user avatar
12 votes

conda init gives me "no action taken"

While this does not try to fix this problem, rather helps as a workaround when I want to activate an env. $ source ~/anaconda3/bin/activate <env_name>
0xc0de's user avatar
  • 245
11 votes

Variable path issue : conda command not found

Lets fix it like this: Move it out of /root/ with: sudo mv /root/anaconda3 /home/$USER Add this to /home/ahmed/.bashrcplease don't use 'sudo' here simple do nano /home/$USER/.bashrc: # Anaconda3 ...
George Udosen's user avatar
10 votes
Accepted

Creating and configuring .bash_profile

Ubuntu does not normally have a .bash_profile You should add your change to the end of .profile instead, since this file will not be read if .bash_profile exists, and Ubuntu normally has code in ....
Zanna's user avatar
  • 71.2k
10 votes
Accepted

Anaconda-Navigator desktop launcher fails to start application

It seems like the .bashrc environment fails to load with your desktop launcher. That is why you need to manually specify the $PATH in the command that you want to execute. Try editing your desktop ...
Foshiba's user avatar
  • 386
8 votes

Can't create anaconda shortcut to launch from desktop on ubuntu 17.10?

First check if anaconda3 is installed on your system or not (Sometime the package may be broken due to network issues during installation). And whether you are able to launch anaconda-navigator ...
Jishan Shaikh's user avatar
8 votes
Accepted

man <command> doesn't display anything after package installation with conda on Ubuntu 17.10

Turns out, after the anaconda installation or some package installation through conda, the default pager is re-written. The exact cause of this is unknown. Just some more information ~$ anaconda --...
Abhilash's user avatar
  • 161
8 votes
Accepted

No indication of activated conda environment in terminal

It is most likely that you have ps1 value set to False, which enables prompt change with change of conda environment. To check run from your ubuntu terminal: $ conda config --show | grep changeps1 And ...
keenlearner's user avatar
7 votes

How can I completely remove files of Anaconda as it is not installing properly?

Downloading and Installing Anaconda (Linux) Download Anaconda from https://www.continuum.io/downloads. Run installer script: $ bash AnacondaX-x.x.x-Linux-x86[_64].sh Accept the license (enter shows ...
Thiago Rider Augusto's user avatar
7 votes

How do I switch back to python2 after Anaconda set python3 as the default?

Good answer here: https://stackoverflow.com/questions/24405561/how-to-install-2-anacondas-python-2-7-and-3-4-on-mac-os-10-9 conda create -n python2 python=2.7 anaconda then, to switch: source ...
Patrick Dolan's user avatar
7 votes

conda init gives me "no action taken"

I had the same problem. Previously I had anaconda 2 but I removed to install anaconda 3. After installing anaconda 3 and using conda init I got the same error message, as I solved it. Enter your ....
Antonio L's user avatar
7 votes

What am i doing wrong in Conda?

I stumbled across the same problem. Here is some relevant information about what is happening: https://stackoverflow.com/a/38851073 It seems that the libtinfo shared library shipped with conda does ...
Nicolas Denoyelle's user avatar
6 votes

How do I activate a conda environment in my .bashrc?

Correct Fix (works for versions >= 4.6) find . -type f -name 'conda' check where the conda binary is and thene cd to it or just give the complete path and run conda config --set auto_activate_base ...
runlevel0's user avatar
  • 342
6 votes

matplotlib.pyplot is not working!

Your code got the following error message: ImportError: numpy.core.multiarray failed to import Change your Python code like this and then test it first in the terminal: :~$ python >>> import ...
karel's user avatar
  • 118k
6 votes

Anaconda is only available to root

Follow the uninstall process given in below link https://docs.anaconda.com/anaconda/install/uninstall/ login as root user sudo su Install anaconda clean pkg conda install anaconda-clean remove all ...
rainu's user avatar
  • 281
5 votes

How to install Anaconda on Ubuntu?

Watch this video for complete installation Download Anaconda from continuum here To install Python 3.6 version sudo bash Anaconda3-4.3.0-Linux-x86_64.sh For Python 2.7 version sudo bash ...
user659168's user avatar
5 votes

Why doesn't Ubuntu Software Center have Anaconda?

Software in the Software Center is available in four main repositories: Main - Canonical-supported free and open-source software. Universe - Community-maintained free and open-source software. ...
DK Bose's user avatar
  • 43.4k

Only top scored, non community-wiki answers of a minimum length are eligible