How do I revert to a previous package in Anaconda?
I had to use the install function instead: conda install pandas=0.13.1
I had to use the install function instead: conda install pandas=0.13.1
In Windows, you will have to set the path to the location where you installed Anaconda3 to. For me, I installed anaconda3 into C:\Anaconda3. Therefore you need to add C:\Anaconda3 as well as C:\Anaconda3\Scripts\ to your path variable, e.g. set PATH=%PATH%;C:\Anaconda3;C:\Anaconda3\Scripts\. You can do this via powershell (see above, https://msdn.microsoft.com/en-us/library/windows/desktop/bb776899(v=vs.85).aspx ), or hit the windows … Read more
Use the –prefix or -p option to specify where to write the environment files. For example: conda create –prefix /tmp/test-env python=2.7 Will create the environment named /tmp/test-env which resides in /tmp/ instead of the default .conda.
conda is the package manager. Anaconda is a set of about a hundred packages including conda, numpy, scipy, ipython notebook, and so on. You installed Miniconda, which is a smaller alternative to Anaconda that is just conda and its dependencies, not those listed above. Once you have Miniconda, you can easily install Anaconda into it … Read more
Pip dependencies can be included in the environment.yml file like this (docs): # run: conda env create –file environment.yml name: test-env dependencies: – python>=3.5 – anaconda – pip – numpy=1.13.3 # pin version for conda – pip: # works for regular pip packages – docx – gooey – matplotlib==2.0.0 # pin version for pip # … Read more
If this happens you would need to set the PATH for your environment (so that it gets the right Python from the environment and Scripts\ on Windows). Imagine you have created an environment called py33 by using: conda create -n py33 python=3.3 anaconda Here the folders are created by default in Anaconda\envs, so you need … Read more
The short answer is that, in my experience generally, it doesn’t matter which you use. The long answer: So conda-forge is an additional channel from which packages may be installed. In this sense, it is not any more special than the default channel, or any of the other hundreds (thousands?) of channels that people have … Read more
If you just want to temporarily change to another environment, use source activate environment-name ETA: This may be deprecated. I believe the current correct command is: source conda activate environment-name (you can create environment-name with conda create) To change permanently, there is no method except creating a startup script that runs the above code. Typically … Read more
I had faced the same problem. Simply running conda install anaconda solved the problem for me.
You can run conda install –file requirements.txt instead of the loop, but there is no target directory in conda install. conda install installs a list of packages into a specified conda environment.