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
105
votes
21 answers

Working with Anaconda in Visual Studio Code

I am getting a bit confused here, the latest Anaconda Distribution, 2018.12 at time of writing comes with an option to install Microsoft Visual Studio Code, which is great. When launching VSC and after Python: Select Interpreter and with a fresh…
BernardL
  • 5,162
  • 7
  • 28
  • 47
105
votes
6 answers

Is it ok having both Anacondas 2.7 and 3.5 installed in the same time?

I am using currently Anaconda with Python 2.7, but I will need to use Python 3.5. Is it ok to have them installed both in the same time? Should I expect some problems? I am on a 64-bit Win8.
GileBrt
  • 1,830
  • 3
  • 20
  • 28
105
votes
5 answers

Create empty conda environment

I can create a new conda environment, with program biopython with this: conda create --name snowflakes biopython What if I do not want to install any program? It seems I can not do that: » conda create --name tryout Error: too few arguments, must…
blueFast
  • 41,341
  • 63
  • 198
  • 344
104
votes
4 answers

How can you "clone" a conda environment into the root environment?

I'd like the root environment of conda to copy all of the packages in another environment. How can this be done?
mikal94305
  • 4,663
  • 8
  • 31
  • 40
103
votes
1 answer

Conda uninstall one package and one package only

When I try to uninstall pandas from my conda virtual env, I see that it tries to uninstall more packages as well: $ conda uninstall pandas Using Anaconda Cloud api site https://api.anaconda.org Fetching package metadata: .... Solving package…
Amelio Vazquez-Reina
  • 91,494
  • 132
  • 359
  • 564
102
votes
11 answers

Conda install and update do not work also solving environment get errors

I am using anaconda as below: (base) C:\Users\xxx>conda info active environment : base active env location : C:\Users\xxx\Documents\ANACONDA shell level : 1 user config file : C:\Users\xxx\.condarc populated config…
J.D
  • 1,885
  • 4
  • 11
  • 19
102
votes
6 answers

update to python 3.7 using anaconda

Python 3.7 alpha version is out, but I haven't been able to find any post on how to update to python 3.7 using Anaconda - maybe they will wait for the official release? Any suggestions?
Dnaiel
  • 7,622
  • 23
  • 67
  • 126
99
votes
16 answers

ImportError: No module named 'google'

I installed Python 3.5. I ran the pip install google command and verified the modules. Google was present. I installed Anaconda 3.5 and tried to run z sample code. But I'm getting the import error. Please find the screen shot attached. What am I…
redwolf_cr7
  • 1,845
  • 4
  • 26
  • 30
96
votes
7 answers

pip throws TypeError: parse() got an unexpected keyword argument 'transport_encoding' when trying to install new packages

I am using the latest version of Anaconda3. I just installed it and I am trying to download some packages. I am using the Anaconda Prompt. While trying to use pip to do anything (including upgrading existing packages) I get the following traceback. …
thewayup
  • 1,155
  • 1
  • 9
  • 11
95
votes
12 answers

Python 3.7 anaconda environment - import _ssl DLL load fail error

I created anaconda environment with Python=3.7 and have trouble with the error of _ssl and DLL. When I tried to get back to my base environment, I have trouble getting the background processes to complete as shown in the figure below, this goes on…
Rene Duchamp
  • 2,429
  • 2
  • 21
  • 29
95
votes
10 answers

How do I find the name of the conda environment in which my code is running?

I'm looking for a good way to figure out the name of the conda environment I'm in from within running code or an interactive python instance. The use-case is that I am running Jupyter notebooks with both Python 2 and Python 3 kernels from a…
Alnilam
  • 3,121
  • 2
  • 21
  • 22
90
votes
5 answers

When importing tensorflow, I get the following error: No module named 'numpy.core._multiarray_umath'

I have installed Ancaconda3 and Tensorflow. When I try to import Tensorflow in python shell I receive the following error: ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' ImportError: numpy.core.multiarray failed to import The…
Dick
  • 1,035
  • 1
  • 8
  • 8
85
votes
4 answers

How to set specific environment variables when activating conda environment?

Does anyone know how to automatically set environment variables when activating an env in conda? I have tried editing */bin/activate, but that adds the new environment variables for every new env that is created. I want to set env variables that are…
PythonRunner
  • 1,531
  • 2
  • 12
  • 11
85
votes
14 answers

How can I upgrade NumPy?

When I installed OpenCV using Homebrew (brew), I got this problem whenever I run this command to test python -c "import cv2": RuntimeError: module compiled against API version 9 but this version of numpy is 6 Traceback (most recent call last): …
user3378649
  • 5,154
  • 14
  • 52
  • 76