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 activate C:\PR\TEMP\venv\test to activate the environment, however this returns: No environment named “C:\PR\temp\venv\test” exists in … Read more

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 (conda-forge has many more). There is no explanation for these differences, not even a simple README. Which one … Read more

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: – defaults/win-32::anaconda==5.3.1=py37_0 done I tried with conda clean –all and then conda update –all but it persists. Conda Info active environment : … Read more

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 Python 2.7. This last one is the default, whenever I launch ‘ipython’ from the terminal it gives … Read more

‘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 is not recognized as internal or external command. I have set environment variable … Read more

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 –alt-hint Fetching package metadata ……. Solving package specifications: ………. # All requested packages … Read more

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: /home/superdev/miniconda3/envs/juicyenv which maps to my anaconda’s location which will be different on other’s pcs. 8 Answers 8