Questions tagged [conda]

Conda is a package management and environment management system. It is open-source, cross-platform and language-agnostic. Written in Python, conda is included in Miniconda and the Anaconda Python distribution.

The conda documentation is available online. conda as a system command is available through Miniconda or the larger Anaconda distribution, made by Anaconda Inc.

7926 questions
1076
votes
14 answers

What is the difference between pip and conda?

I know pip is a package manager for python packages. However, I saw the installation on IPython's website use conda to install IPython. Can I use pip to install IPython? Why should I use conda as another python package manager when I already have…
lazywei
  • 11,955
  • 5
  • 20
  • 25
770
votes
20 answers

Removing Conda environment

I want to remove a certain environment created with conda. How can I achieve that? Let's say I have an active testenv environment. I tried, by following documentation, with: $ conda env remove CondaEnvironmentError: cannot remove current…
renatodamas
  • 16,555
  • 8
  • 30
  • 51
767
votes
8 answers

How do I prevent Conda from activating the base environment by default?

I recently installed anaconda2 on my Mac. By default Conda is configured to activate the base environment when I open a fresh terminal session. I want access to the Conda commands (i.e. I want the path to Conda added to my $PATH which Conda does…
DryLabRebel
  • 8,923
  • 3
  • 18
  • 24
579
votes
10 answers

How can I rename a conda environment?

I have a conda environment named old_name, how can I change its name to new_name without breaking references?
pkowalczyk
  • 16,763
  • 6
  • 27
  • 35
557
votes
25 answers

Conda environments not showing up in Jupyter Notebook

I installed Anaconda (with Python 2.7), and installed Tensorflow in an environment called tensorflow. I can import Tensorflow successfully in that environment. The problem is that Jupyter Notebook does not recognize the new environment I just…
user31039
  • 6,149
  • 4
  • 14
  • 9
366
votes
16 answers

How do I update Anaconda?

I have Anaconda installed on my computer and I'd like to update it. In Navigator I can see that there are several individual packages that can be updated, but also an anaconda package that sometimes has a version number and sometimes says custom. …
IanSR
  • 9,898
  • 4
  • 14
  • 15
342
votes
4 answers

How to update an existing Conda environment with a .yml file

How can a pre-existing conda environment be updated with another .yml file. This is extremely helpful when working on projects that have multiple requirement files, i.e. base.yml, local.yml, production.yml, etc. For example, below is a base.yml file…
user6536435
308
votes
10 answers

Does Conda replace the need for virtualenv?

I recently discovered Conda after I was having trouble installing SciPy, specifically on a Heroku app that I am developing. With Conda you create environments, very similar to what virtualenv does. My questions are: If I use Conda will it replace…
Kritz
  • 7,099
  • 12
  • 43
  • 73
308
votes
42 answers

How do I install Python OpenCV through Conda?

I'm trying to install OpenCV for Python through Anaconda, but I can't seem to figure this out. I tried conda install opencv conda install cv2 I also tried searching conda search cv No cigar. I ran across this which lists opencv as an included…
Chet
  • 18,421
  • 15
  • 69
  • 113
284
votes
10 answers

How do I upgrade to Python 3.6 with Conda?

I want to get the latest version of Python to use f-strings in my code. Currently my version is (python -V): Python 3.5.2 :: Anaconda 4.2.0 (x86_64) How would I upgrade to Python 3.6?
Aryaman
  • 3,136
  • 3
  • 13
  • 16
273
votes
17 answers

'Conda' is not recognized as internal or external command

I installed Anaconda3 4.4.0 (32 bit) on my Windows 7 Professional machine and imported NumPy and Pandas on Jupyter notebook so I assume Python was installed correctly. But when I type conda list and conda --version in command prompt, it says conda…
Kshitiz
  • 3,431
  • 4
  • 14
  • 22
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
259
votes
9 answers

PackagesNotFoundError: The following packages are not available from current channels:

I'm somewhat new to Python. I've used it in a bunch of projects, but haven't really needed to stray from its standard setup. I'm trying to install some new packages to get access to functions necessary for a university assignment. When I try to…
Sunafegon
  • 2,691
  • 2
  • 8
  • 4
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
1
2 3
99 100