Questions tagged [anaconda]

Anaconda is a Python distribution that bundles optimized versions of common data science packages. On topic for this tag are installing/uninstalling Anaconda and using Anaconda Navigator. Do not use this tag for questions about Conda environment management (instead use [conda]). Do not use this tag if your question is about using a particular package in the Anaconda distribution.

Anaconda is a commercial data science platform powered by . It was free until 2020, when the terms of services were changed to prohibit commercial usage. Built in with high performance, optimized for Python and with 100+ packages plus easy access to an additional 620+ popular packages for data science including advanced and scientific analytics.

It also includes , an open source package, dependency and environment manager. Thousands more packages can be installed with the conda command, available for , and .

Anaconda Navigator is a graphical user interface installed with Anaconda which can be easier to use than conda from a terminal command line.

A minimized version of Anaconda, has only the conda command line interface and is lighter weight than Anaconda.

Links

14777 questions
267
votes
10 answers

Anaconda export Environment file

How can I make anaconda environment file which could be use on other computers? I exported my anaconda python environment to YML using conda env export > environment.yml. The exported environment.yml contains this line prefix:…
Lau
  • 3,260
  • 5
  • 16
  • 25
262
votes
33 answers

How can I run Conda?

I installed Anaconda and can run Python, so I assume that I installed it correctly. Following this introductory documentation, I am trying to install Python v3.3, so I am copying and pasting the following line into my console: conda create -n py33…
Ginger
  • 8,320
  • 12
  • 56
  • 99
260
votes
3 answers

What is the difference between pyenv, virtualenv, anaconda?

I am a ruby programmer trying to learn python. I am pretty familiar with pyenv since it is like a copy and paste from rbenv. Pyenv helps allow to have more than one version of python in a system and also to isolate the python without touching…
channa ly
  • 9,479
  • 14
  • 53
  • 86
256
votes
7 answers

anaconda update all possible packages?

I tried the conda search --outdated, there are lots of outdated packages, for example the scipy is 0.17.1 but the latest is 0.18.0. However, when I do the conda update --all. It will not update any packages. update 1 conda update --all…
Wang
  • 7,250
  • 4
  • 35
  • 66
243
votes
21 answers

The environment is inconsistent, please check the package plan carefully

I tried to update or install new packages from anaconda and lately, this message has appeared: The environment is inconsistent, please check the package plan carefully The following package are causing the inconsistency: -…
Angel Salazar
  • 2,564
  • 2
  • 10
  • 16
243
votes
8 answers

How to know which Python is running in Jupyter notebook?

I use Jupyter notebook in a browser for Python programming, I have installed Anaconda (Python 3.5). But I'm quite sure that Jupyter is running my python commands with the native python interpreter and not with anaconda. How can I change it and use…
Victor
  • 2,521
  • 2
  • 11
  • 8
232
votes
4 answers

Combining conda environment.yml with pip requirements.txt

I work with conda environments and need some pip packages as well, e.g. pre-compiled wheels from ~gohlke. At the moment I have two files: environment.yml for conda with: # run: conda env create --file environment.yml name: test-env dependencies: -…
bastelflp
  • 9,362
  • 7
  • 32
  • 67
230
votes
18 answers

How to change default Anaconda python environment

I've installed Anaconda and created two extra environments: py3k (which holds Python 3.3) and py34 (which holds Python 3.4). Besides those, I have a default environment named 'root' which the Anaconda installer created by default and which holds…
user2734434
  • 2,661
  • 2
  • 14
  • 16
228
votes
5 answers

Should conda, or conda-forge be used for Python environments?

Conda and conda-forge are both Python package managers. What is the appropriate choice when a package exists in both repositories? Django, for example, can be installed with either, but the difference between the two is several dependencies…
user6536435
228
votes
4 answers

anaconda/conda - install a specific package version

I want to install the 'rope' package in my current active environment using conda. Currently, the following 'rope' versions are available: (data_downloader)user@user-ThinkPad ~/code/data_downloader $ conda search rope Using Anaconda Cloud api site…
s5s
  • 11,159
  • 21
  • 74
  • 121
221
votes
15 answers

How to activate an Anaconda environment

I'm on Windows 8, using Anaconda 1.7.5 64bit. I created a new Anaconda environment with conda create -p ./test python=2.7 pip from C:\Pr\TEMP\venv\. This worked well (there is a folder with a new python distribution). conda tells me to type…
pandita
  • 4,739
  • 6
  • 29
  • 51
216
votes
4 answers

Bulk package updates using Conda

Is there a way (using conda update) that I can list outdated packages and select or bulk update (compatible) packages in Anaconda? It doesn't make much sense updating the packages individually as there are hundreds of them.
Afloz
  • 3,625
  • 3
  • 25
  • 31
211
votes
14 answers

How to uninstall Anaconda completely from macOS

How can I completely uninstall Anaconda from MacOS Sierra and revert back to the original Python? I have tried using conda-clean -yes but that doesn't work. I also remove the stuff in ~/.bash_profile but it still uses the Anaconda python and I can…
Jordan Baron
  • 3,752
  • 4
  • 15
  • 26
209
votes
8 answers

how to specify new environment location for conda create

the default location for packages is .conda folder in my home directory. however, on the server I am using, there is a very strict limit of how much space I can use, which basically avoids me from putting anything under my home directory. how can I…
linX
  • 2,199
  • 2
  • 13
  • 4
198
votes
15 answers

ModuleNotFoundError: No module named 'sklearn'

I want to import sklearn but there is no module apparently: ModuleNotFoundError: No module named 'sklearn' I am using Anaconda and Python 3.6.1; I have checked everywhere but still can't find answers. When I use the command: conda install…
Hareez Rana
  • 1,993
  • 2
  • 7
  • 3