Skip to main content

Questions tagged [anaconda]

This tag should be used for questions regarding the Anaconda Python and R distribution.

Filter by
Sorted by
Tagged with
250 votes
7 answers
438k views

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

I'm wondering why I have (base) on the left of my terminal prompt. If I run source ~/.profile in the terminal, it disappears. If I close that terminal and reopen a new terminal, (base) is there ...
Jimmy's user avatar
  • 2,603
110 votes
11 answers
499k views

How to install Anaconda on Ubuntu?

How to install Anaconda for Python on Ubuntu? Is there a way to use apt-get install? I only have command line access to my server. How do I install Anaconda on Ubuntu 14.04 from the command line?
alvas's user avatar
  • 2,927
37 votes
4 answers
302k views

Variable path issue : conda command not found

After installing Anaconda correctly. I wanted after finishing the installation to do the following. I forget to do it while installing anaconda: export PATH="/root/anaconda3/bin" conda --version ...
vincent 's user avatar
36 votes
9 answers
289k views

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

I use Conda for package management in Python. I have a basic environment which I use almost all of the time, and I want it to be loaded by default when I open a terminal. How do I set up my .bashrc to ...
Eli Sander's user avatar
25 votes
7 answers
61k views

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

I have used the guide from similar question (How can I create launchers on my desktop?) but nothing works when it comes to Ananconda3 shortcut. Here is my desktop file for anaconda: [Desktop Entry] ...
steves's user avatar
  • 371
20 votes
5 answers
68k views

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

Recently, I installed Anaconda3-2.5.0-Linux-x86_64.sh on my 15.04 and ended up with this! :~$ python --version Python 3.5.1 :: Anaconda 2.5.0 (64-bit) :~$ python2 --version Python 2.7.9 :~$ python3 ...
Piyush Deshmukh's user avatar
17 votes
4 answers
75k views

ANACONDA - I have to type export PATH=~/anaconda3/bin:“$PATH” everytime I rerun the terminal [duplicate]

Whenever I open a terminal, I have to write export PATH=~/anaconda3/bin:$PATH to use any feature of anaconda I want a persistent path.
Vitor Abella's user avatar
  • 7,587
13 votes
4 answers
45k views

conda activate not working in a bash file

I am trying to write a script with the name myscrpt.sh, so when I run it it automatically creates a virtual env and activate it using conda. My conda version is 4.7.1. This is what I have at the ...
Prelude's user avatar
  • 251
12 votes
7 answers
37k views

conda init gives me "no action taken"

I'm getting this while installing anaconda on ubuntu 19.04
Tausif Ahmed's user avatar
11 votes
5 answers
92k views

How to set anaconda as a default python?

I have just installed the Anaconda (for ipython notebook -- wanted to run some pandas programme). It is installed successfully but the problem here is whenever I type which python, it is always using ...
yogesh Ratudi's user avatar
10 votes
4 answers
46k views

GLIBCXX 3.4.30 not found in conda environment

I am installing a package with pip in my conda environment and I keep getting this error: ImportError: /home/anavani/anaconda3/envs/dmcgb/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (...
oofmeister27's user avatar
10 votes
1 answer
12k views

Anaconda-Navigator desktop launcher fails to start application

I recently installed Anaconda on my Xubuntu 16.04 system. To launch the application from a terminal, I simply use anaconda-navigator and it works brilliantly. Now I wanted to create a desktop ...
Foshiba's user avatar
  • 386
8 votes
1 answer
1k views

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

When I try to get the manpages with man it seems to display nothing and behaves as though I just pressed enter ~$ man ls ~$ man man I have tried solutions from these pages to no avail question1 ...
Abhilash's user avatar
  • 161
7 votes
2 answers
29k views

Can't import pytorch

I am trying to import pytorch but I get an error that module does not exist. I installed via anaconda, and the folder "pytorch-0.1.12-py35_2cu80" exist in anaconda3/pkgs folder. why does it not ...
Rik's user avatar
  • 469
7 votes
2 answers
10k views

What am i doing wrong in Conda?

I am a first time user of of Anaconda & Miniconda suite and I have been having problems running code using it. Every time I try to run a python script in Anaconda or miniconda it comes up with ...
user avatar
7 votes
2 answers
15k views

Why does "which python" return nothing?

If I type which python I get no output and I have no success using Miniconda as default Python. I did set paths to ${HOME}/.profile but no success. Here is my ${HOME}/.profile The last line is mine. ...
YohanRoth's user avatar
  • 171
6 votes
4 answers
10k views

How to stop using Anaconda's Version of OpenSSL

I ran the following command: sudo apt-get install --only-upgrade openssl and the output was: openssl is already the newest version (1.1.0g-2ubuntu4.1). However, when I type openssl version -a into ...
Foobar's user avatar
  • 609
5 votes
1 answer
5k views

No indication of activated conda environment in terminal

Problem I have a local conda environment in a folder, but when I activate it, I get no indication of having done so. I know that it is activated because if I, as an example, try to remove it, it will ...
applemonkey496's user avatar
5 votes
1 answer
50k views

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

I tried to install Anaconda3-4.1.1-Linux-x86_64.sh, but after saving files in terminal an error comes saying permission denied. How can I resolve this?
purnima kumari's user avatar
4 votes
2 answers
9k views

Unable to update Anaconda packages on Ubuntu 17.04

The following message is being displayed whenever I am attempting to update any package with conda update package-name I have installed Anaconda previously on 16.04 and 16.10 with no such issues. ...
djokester's user avatar
  • 283
4 votes
1 answer
3k views

In conda virtual environment,how to use " sudo python exampy.py" without using the version of python in system?

When I use anaconda to create a virtual environment named tf-py36 and activate it, By using python test.py It warns that I don't have the permission. But when I use sudo python test.py it uses ...
cam's user avatar
  • 41
4 votes
2 answers
12k views

Why does “(base)” appear in front of my terminal prompt II?

I have conda with two environments working, I have installed "conda_nb" and since I did it, the word "(base)" appears always in my prompt, I discovered that I can remove for a session using conda ...
Pablo Ruiz's user avatar
4 votes
1 answer
278 views

Why doesn't Ubuntu Software Center have Anaconda?

I want to install Anaconda without using terminal. I looked in the Software Center but Anaconda wasn't there. What I want to know is why isn't Anaconda in the Software Center?
Kenneth Ogden's user avatar
4 votes
2 answers
3k views

Activate conda environment in Ubuntu desktop shortcut

I have a desktop shortcut that has the following Exec line: Exec=conda activate my_env && my_command However, this shortcut doesn't launch. To try to debug this, I ran the same command in a ...
Mate de Vita's user avatar
4 votes
1 answer
5k views

How to install and connect MathJax to Jupyter notebook 5.2.1?

I have Jupyter notebook from the Anaconda distribution. I recently updated Jupyter with the command conda update notebook. I am interested to know how to use the LaTex format with Jupyter. Apparently, ...
bhjghjh's user avatar
  • 209
4 votes
0 answers
480 views

Enable multi-line paste for conda python shell on 18.04

I am running ubuntu 18.04 and have started using conda 4.9.2 to set up python environments. As this is a remote machine, I often copy and paste short multi-line code snippets for development purposes. ...
djk's user avatar
  • 41
4 votes
1 answer
9k views

Where to install Anaconda?

I'm using SSD for / and HDD for /home and /var. I want to use Anaconda on SSD because I think it's faster. I'm installing Anaconda and asked where to install. Where do I install it?
user avatar
3 votes
2 answers
5k views

How can I download and install miniconda?

I'm a brand new linux user, so please let me know if I'm missing something super obvious here. I'm using the newest release of ubuntu, 20 04. I've tried downloading miniconda from their website (...
Indigon's user avatar
  • 41
3 votes
2 answers
16k views

Anaconda is only available to root

I downloaded the Anaconda3-2020.02-Linux-x86_64.sh from official site and used the command: sudo sh Anaconda3-2020.02-Linux-x86_64.sh To install. By default it installed inside '/root/anaconda3'. ...
Ali Sajjad Rizavi's user avatar
3 votes
2 answers
36k views

Jupyter: An error occurred while creating a new notebook

I have ununtu 18.04.1 installed as well as the anaconda 4.5.8. After typing: $ jupyter notebook I get the standard jupyter homepage. But when I try to click New/Notebook/Python3 I get the ...
Bazman's user avatar
  • 435
3 votes
3 answers
5k views

Installing anaconda

I tried to install anaconda on my Ubuntu VM (following this), but for some reason the installation skipped on adding anaconda to the PATH variable. I followed instructions here and it somewhat helped. ...
proton's user avatar
  • 147
3 votes
1 answer
2k views

How to properly update Anaconda?

I am trying to update my outdated Anaconda installation as Spyder reminded to do so. On the Spyder help page on how to update, it says to simply use conda update anaconda to update the whole ...
Axel's user avatar
  • 143
3 votes
4 answers
5k views

Unable to run anaconda-navigator out of conda envirnment (base)

I am running a new installed Ubuntu 19.04 Disco Dingo on a dual boot with windows 10. I installed Anaconda for Ubuntu using this guide https://docs.anaconda.com/anaconda/install/linux/ Finishing the ...
Alireza M. Kamelabad's user avatar
3 votes
1 answer
10k views

Uninstalling Anaconda in Ubuntu

I am trying to remove Anaconda2 from my Ubuntu server as it is clashing with other versions of Python. As mentioned in this post, I cleared the lines ~./bashrc containing reference to anaconda2. When ...
honeybadger's user avatar
3 votes
1 answer
3k views

Anaconda python keeps using 2.7

I am using ubuntu 16.04. I installed anaconda using bash ~/Downloads/Anaconda3-5.1.0-Linux-x86_64.sh. Then I create a new environment conda create -n python35 python=3.5 anaconda Then I activate ...
Kong's user avatar
  • 1,291
3 votes
1 answer
158 views

Fix backup with Anaconda2 as primary Python Shell

The default backup app doesn't work properly. I searched in the web and my Anaconda2 seems to be the problem but I still want it as my primary Python. If I run in the console: duplicity --version ...
Adrian Martinez's user avatar
3 votes
2 answers
6k views

OpenCV undefined references for libQt5Core.so.5

Before starting, I would like to point out there actually is a very similar (probably exactly identical) question. However, I have been unable to solve my problem looking at the accepted answers. I ...
raggot's user avatar
  • 221
3 votes
5 answers
33k views

No such file or directory encountered trying to install Anaconda

Spoiler: I'm still totally new to Ubuntu/Linux in general; In order to use GPU-supported tensorflow i tried to install Anaconda on my unix/gnome partition, following the instructions of the site: (...
LJKS's user avatar
  • 141
3 votes
1 answer
2k views

Not able to activate conda environment through os.system command in python

I want to activate activate a conda environment before running my python file through os.system command, but unfortunately, I am not able to activate the conda environment. Following is the command I ...
Ritish Adhikari's user avatar
3 votes
1 answer
551 views

The order of $PATH in .bashrc

I installed anaconda which appends before $PATH in my .bashrc file like: $ export PATH=/usr/bin/anaconda/bin:$PATH whenever I run python from terminal, it calls anaconda version python, not system ...
ofenerci's user avatar
  • 133
3 votes
2 answers
4k views

How to import Anaconda's modules in system's python?

I've installed opencv for Anaconda with this command: conda install opencv And when I run python3.6 in terminal , I can import cv2 module with any issue. So opencv has been installed for Anaconda'...
Ali Razmdideh's user avatar
2 votes
3 answers
6k views

Anaconda Nav wont launch 18.04

I type in anaconda-navigator but i get this "anaconda-navigator: command not found" I have conda update conda.
MaxBrenton's user avatar
2 votes
1 answer
1k views

COMODO Antivirus Considers a Python File a Threat

I am using COMODO antivirus on my ubuntu partition, and recently ran a scan. It found a HIGH PRIORITY error which seems like nothing more than a file in numpy. Has anyone else seen this before? (...
Rmurphy's user avatar
  • 245
2 votes
1 answer
26k views

"Errno 13 Permission denied" for pip and anaconda

I was trying to update anaconda by: conda update conda it returns: PermissionError(13, 'Permission denied') Then I found out that the same happens for pip: pip install --upgrade pip returns: ...
VIN's user avatar
  • 53
2 votes
1 answer
13k views

How can I install python3-dev locally?

I installed anaconda3 locally and I want to install python3-dev. How can I install python3-dev from source locally without root permission?
GoingMyWay's user avatar
2 votes
4 answers
18k views

Cannot open Anaconda Navigator in Ubuntu 16.04. Import error?

I cannot open Anaconda Navigator. I installed it following the instructions here: https://conda.io/docs/user-guide/install/linux.html#install-linux-silent. I get this output when I run the comand ...
user avatar
2 votes
2 answers
2k views

Fish does not run as conda base by default

I have installed Fish on my Ubuntu, but every time I open my terminal I have to run the bash command to initiate conda base. I hadn't this problem with ZSH in the past. Is there any solution to make ...
ShirinJZ's user avatar
2 votes
2 answers
608 views

Can`t launch anaconda3 on ubuntu

I`m just trying to launch anaconda with command anaconda-navigator and terminal printing out this: matviiuk@matviiuk-desktop:/media/matviiuk/DiskD/WorkPrograms/anaconda3/bin$ anaconda-navigator 2023-...
Matviiuk Sviatoslav's user avatar
2 votes
1 answer
1k views

Silent Anaconda installation

I need to install Anaconda to the Docker container with Ubuntu. But after I copy and execute the installer it asks to agree with the license agreement. Is there any way to make a silent installation?
Kosh's user avatar
  • 185
2 votes
1 answer
6k views

Collecting package metadata (current_repodata.json): failed NotWritableError: The current user does not have write permissions to a required path

When i am trying to install any library such as pandas and even when i tried to install clean package using conda install anaconda-clean. it gives an error : Collecting package metadata (...
Parth Patel's user avatar

1
2 3 4 5