Sunday, May 14, 2017

Using environment from YAML file in Andconda command prompt (Windows)


This post is to help me remember how to create an enviroment using YAML file using Anaconda command prompt in Windows 10.

Step1: Save the YAML file to the Anaconda envs folder to your computer.

C:\Users\avi\Anaconda3\envs

In this example I have saved the file name dand-env-win.yaml

dand-env-win.yaml









Step 2: Open Anaconda commant prompt and type conda create -n dand-env-win

the file will be saved to C:\Users\avi\Anaconda3\envs path

    Type y to proceed



Step 3: To active the environment type activate dand-env-win

Now, we can go ahead and install any required packages, they will be installed to this environment, by using the following command conda install python=2.7 (or python=3) pandas numpy matplotlib seaborn

    Type y to proceed