University of Washington CSE 416 Spring 2019 Hongjun Wu How to Setup Anaconda University of Washington CSE 416 Spring 2019 Hongjun Wu © 2019 Hongjun Wu
Setup 1. For Python version, we are using Python 3.6 (Not 3.7) I will use Windows 10 to demonstrate. macOS and Linux should be similar. Navigate to the archive of Anaconda and download Anaconda 3 5.1.0. https://repo.anaconda.com/archive/Anaconda3-5.1.0-Windows-x86_64.exe Why not Python 3.7? Python 3.7 is too new. Some packages we are using might not be compatible with 3.7. Python 3.6 is the “known stable” version of Python 3 for quite a long time. However, if you have 3.7 installed you can create a virtual environment using 3.6. 2. Install Anaconda 3 5.1.0 Remember to check the “add to PATH” option. 3. Test everything works properly. © 2019 Hongjun Wu
Optional: Create virtual env Steps: 1. Open anaconda prompt 2. Run [conda –V] and check you do have Python 3.7 installed. 3. Run [conda update conda] 4. Run [conda create –n cse416 python=3.6 anaconda] Hit y. This will take a while. Note: “cse416” is an arbitrarily picked environment name. You can name it whatever you want(i.e. myenv). 5. Run [conda activate cse416] Source: https://uoa-eresearch.github.io/eresearch- cookbook/recipe/2014/11/20/conda/ © 2019 Hongjun Wu