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
127
votes
11 answers

Where is site-packages located in a Conda environment?

After installing a package in an Conda environment, I'd like to make some changes to the code in that package. Where can I find the site-packages directory containing the installed packages? I have an Anaconda Python 2.7 base distribution, but I do…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
126
votes
26 answers

Conda activate not working?

gonzo  ~/a/packages  conda env list # conda environments: # ppo_latest /nohome/jaan/abhishek/anaconda3/envs/ppo_latest root * /nohome/jaan/abhishek/anaconda3 gonzo  ~/a/packages  conda activate ppo_latest …
Abhishek Bhatia
  • 9,404
  • 26
  • 87
  • 142
126
votes
7 answers

Get the list of packages installed in Anaconda

Over a period of time, I have loaded a number of packages into the Anaconda I have been using. Now I am not able to keep track of it. How do we get a list of all packages loaded in Anaconda (Windows 10)? What is the command?
Regi Mathew
  • 2,603
  • 3
  • 24
  • 38
122
votes
7 answers

Jupyter notebook not trusted

I am using Anaconda to work on a Jupyter notebook which displays "Not Trusted" (see on screenshot below). What does it mean? Is it a problem? How can I solve it?
Clément F
  • 3,535
  • 6
  • 18
  • 26
121
votes
4 answers

Install only available packages using "conda install --yes --file requirements.txt" without error

While installing packages in requirements.txt using Conda through the following command conda install --yes --file requirements.txt If a package in requirements.txt is not available, then it throws a "No package error" such as the one shown…
cdeepakroy
  • 2,203
  • 3
  • 19
  • 23
120
votes
8 answers

What does this tensorflow message mean? Any side effect? Was the installation successful?

I just installed tensorflow v2.3 on anaconda python. I tried to test out the installation using the python command below; $ python -c "import tensorflow as tf; x = [[2.]]; print('tensorflow version', tf.__version__); print('hello,…
user1315789
  • 3,069
  • 6
  • 18
  • 41
116
votes
4 answers

CondaValueError: The target prefix is the base prefix. Aborting

I have the following conda environment file environment.yml: name: testproject channels: - defaults dependencies: - python=3.7 prefix: /opt/projects/testproject Before creating the environment, only the base environment exists: (base)…
matthiash
  • 3,105
  • 3
  • 23
  • 34
116
votes
14 answers

How to remove anaconda from windows completely?

I installed Anaconda a while ago but recently decided to uninstall it and just install basic python 2.7. I removed Anaconda and deleted all the directories and installed python 2.7. But when I go to install PyGTK for Windows it says it will install…
sci-guy
  • 2,394
  • 4
  • 25
  • 46
113
votes
26 answers

Stuck at Solving Environment on Anaconda

I am running OSX Catalina. After downloading Anaconda, I'm having trouble downloading external packages. I tried in both the GUI and the terminal, but the process keeps getting stuck at "Solving environment". I understand creating a new environment…
Johnson Sam
  • 1,139
  • 2
  • 6
  • 5
112
votes
16 answers

Error installing geopandas:" A GDAL API version must be specified " in Anaconda

This error raised while installing geopandas. I've looking for its solution on the web, but none of them really explain what happened and how to solve it.. This is the full error: Collecting geopandas Using cached…
Alvaro Morales
  • 1,845
  • 3
  • 12
  • 21
112
votes
4 answers

Anaconda vs. EPD Enthought vs. manual installation of Python

What are the relative merits / downsides of various Python bundles (EPD / Anaconda) vs. a manual install? I have installed EPD academic, and I have no issues with it. It provides more packages that I think I will ever need, and it is very easy to…
John
  • 41,131
  • 31
  • 82
  • 106
110
votes
15 answers

Activating Anaconda Environment in VsCode

I have Anaconda working on my system and VsCode working, but how do I get VsCode to activate a specific environment when running my python script?
ctrlalt313373
  • 3,935
  • 7
  • 36
  • 40
109
votes
19 answers

Updating Anaconda fails: Environment Not Writable Error

I'm trying to update Anaconda and its packages using conda update --name root conda, but it fails every time. Error message : EnvironmentNotWritableError: The current user does not have write permissions to the target environment. environment …
A. E. Fahim
  • 1,093
  • 2
  • 7
  • 7
108
votes
12 answers

Installing a pip package from within a Jupyter Notebook not working

When I run !pip install geocoder in Jupyter Notebook I get the same output as running pip install geocoder in the terminal but the geocoder package is not available when I try to import it. I'm using Ubuntu 14.04, Anaconda 4.0.0 and pip…
Mikhail Janowski
  • 4,209
  • 7
  • 28
  • 40
106
votes
12 answers

Where does Anaconda Python install on Windows?

I installed Anaconda for Python 2.7 on my Windows machine and wanted to add the Anaconda interpreter to PyDev, but quick googling couldn't find the default place where Anaconda installed, and searching SO didn't turn up anything useful, so. Where…
Semicolons and Duct Tape
  • 2,927
  • 4
  • 20
  • 35