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
14,997
questions
611
votes
10
answers
424k
views
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?
585
votes
26
answers
606k
views
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 ...
537
votes
39
answers
1.0m
views
How to change the Jupyter start-up folder
I tried following the instructions given on the Jupyter Notebook documentation.
Unfortunately, I haven't been able to figure it out. Where exactly is this "start in" field?
I've a windows 7 (64 bit) ...
512
votes
1
answer
198k
views
Installation Issue with matplotlib Python [duplicate]
I have issue after installing the matplotlib package unable to import matplotlib.pyplot as plt. Any suggestion will be greatly appreciate.
>>> import matplotlib.pyplot as plt
Traceback (...
476
votes
20
answers
1.0m
views
Using Pip to install packages to Anaconda Environment
conda 4.2.13
MacOSX 10.12.1
I am trying to install packages from pip to a fresh environment (virtual) created using anaconda. In the Anaconda docs it says this is perfectly fine. It is done the same ...
393
votes
7
answers
399k
views
Anaconda vs. miniconda
In the Anaconda repository, there are two types of installers:
"Anaconda installers" and "Miniconda installers".
What are their differences?
Besides, for an installer file, Anaconda2-4.4.0.1-...
384
votes
21
answers
386k
views
Jupyter Notebook not saving: '_xsrf' argument missing from post
I've been running a script on jupyter notebooks for about 26 hour; I haven't really been using my computer for anything else, but it needs to run this program that will take ~30 hours to complete. At ...
378
votes
17
answers
763k
views
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 ...
377
votes
4
answers
351k
views
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, ...
348
votes
17
answers
504k
views
In which conda environment is Jupyter executing?
I have jupyter/anaconda/python3.5.
How can I know which conda environment is my jupyter notebook running on?
How can I launch jupyter from a new conda environment?
318
votes
45
answers
1.0m
views
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 ...
315
votes
10
answers
170k
views
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. ...
311
votes
19
answers
786k
views
Python Anaconda - How to Safely Uninstall
I installed Python Anaconda on Mac (OS Mavericks). I wanted to revert to the default version of Python on my Mac. What's the best way to do this? Should I delete the ~/anaconda directory? Any other ...
306
votes
11
answers
737k
views
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?
298
votes
17
answers
924k
views
'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 ...
291
votes
11
answers
427k
views
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....
270
votes
7
answers
557k
views
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 ...
270
votes
3
answers
152k
views
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 ...
264
votes
33
answers
760k
views
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 ...
256
votes
22
answers
275k
views
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 ...
255
votes
4
answers
559k
views
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 $ ...
253
votes
4
answers
217k
views
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 --...
248
votes
8
answers
475k
views
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 ...
242
votes
18
answers
518k
views
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 ...
237
votes
5
answers
153k
views
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 ...
232
votes
15
answers
890k
views
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 ...
227
votes
8
answers
374k
views
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 ...
227
votes
16
answers
949k
views
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 ...
224
votes
14
answers
510k
views
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 ...
216
votes
4
answers
120k
views
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 ...
212
votes
29
answers
830k
views
Conda command not found
I've installed Miniconda and have added the environment variable export PATH="/home/username/miniconda3/bin:$PATH" to my .bashrc and .bash_profile, but still can't run any Conda commands in ...
211
votes
8
answers
185k
views
How to add conda environment to jupyter lab
I'm using Jupyter Lab and I'm having trouble to add conda environment. The idea is to launch Jupyter Lab from my base environment, and then to be able to choose my other conda envs as kernels.
I ...
207
votes
15
answers
572k
views
Conda command is not recognized on Windows 10
I installed Anaconda 4.4.0 (Python 3.6 version) on Windows 10 by following the instructions here: https://www.continuum.io/downloads. However, when I open the Command prompt window and try to write
...
199
votes
3
answers
135k
views
What are the differences between Conda and Anaconda?
Post-question update:
See Introduction to Conda for more details.
The problem:
I first installed Anaconda on my ubuntu at ~/anaconda, when I was trying to update my anaconda, according to the ...
185
votes
4
answers
244k
views
How do I revert to a previous package in Anaconda?
If I do
conda info pandas
I can see all of the packages available.
I updated my pandas to the latest this morning, but I need to revert to a prior version now. I tried
conda update pandas 0.13.1
...
179
votes
3
answers
148k
views
How to install two versions of Anaconda (Python 2 and 3) on Mac OS
I'm relatively new in macOS. I've just installed XCode (for c++ compiler) and Anaconda with the latest Python 3 (for myself). Now I'm wondering how to install properly second Anaconda (for work) with ...
165
votes
11
answers
140k
views
How do I keep track of pip-installed packages in an Anaconda (Conda) environment?
I've installed and have been using the Anaconda Python distribution, and I have started using the Anaconda (Conda) environment. I can use the standard conda install... command to put packages from the ...
162
votes
6
answers
234k
views
How to reset anaconda root environment
How do I reset the root environment of anaconda? There has to be a simple conda reset command that does this.
I don't want to reinstall anaconda all over again. I have other virtualenvs that I don't ...
154
votes
12
answers
165k
views
How to remove (base) from terminal prompt after updating conda
After updating miniconda3, whenever I open a terminal it shows "(base)" in front of my username and host.
In this answer post https://askubuntu.com/a/1113206/315699 it was suggested to use
conda ...
153
votes
9
answers
280k
views
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 ...
152
votes
2
answers
163k
views
How to free disk space taken up by (ana)conda?
I am using the conda package manager - a lot. By now I have quite a few environments and a lot of downloaded packages taking a lot of space on my SSD. An obvious path to free some of that space is to ...
151
votes
11
answers
362k
views
How to run Spyder in virtual environment?
I have been using Spyder installed with with Anaconda distribution which uses Python 2.7 as default. Currently I need to set up a development virtual environment with Python 3.4.
Top two suggestions ...
148
votes
4
answers
306k
views
Upgrade to python 3.8 using conda
Python 3.8.0 is out, but I haven't been able to find any post on how to update to python 3.8 using conda - maybe they will wait for the official release? Any suggestions?
141
votes
28
answers
536k
views
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 ...
141
votes
28
answers
318k
views
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 ...
140
votes
7
answers
396k
views
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 ...
138
votes
3
answers
121k
views
How is Anaconda related to Python?
I am a beginner and I want to learn computer programming. So, for now, I have started learning Python by myself with some knowledge about programming in C and Fortran.
Now, I have installed Python ...
136
votes
13
answers
452k
views
how to update spyder on anaconda
I have Anaconda installed (Python 2.7.11 |Anaconda custom (64-bit)| (default, Feb 16 2016, 09:58:36) [MSC v.1500 64 bit (AMD64)] on win32) and I am using Spyder 2.3.8
Would like to update Spyder to ...
132
votes
12
answers
307k
views
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 ...
131
votes
7
answers
184k
views
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?