Anaconda, conda and virtualenv

Written by Art, June 18, 2017

Install Anaconda

Anaconda is an open data science platform powered by Python. Anaconda comes with distribution of Python and R and includes over 100 of the most popular Python, R and Scala packages for data science.

Use Graphical installer to install Anaconda powered by Python 3.6

Anaconda documentation


pandas-datareader extracts data from various Internet sources into a pandas DataFrame. Docs

Start using pandas-datareader:

import as web

Install latest release version via conda

conda install pandas-datareader

conda install -c anaconda pandas-datareader

Install latest release version via pip

pip install pandas-datareader


Conda is a package manager, just like pip, is used for updating Anaconda packages.

Conda documentation

If you get an error:

conda is not recognized as internal or external command.

For Windows

Go to:

Go to Control Panel\System and Security\System\Advanced System Settings\Environment Variables

and check path values, your user variable should contain


Usually it looks like this:


For Mac

Go to .bashrc, or sometimes to .profile, or.bash_profile and make sure PATH is right.

PATH: PATH="/Users/computer_name/anaconda/bin"

Virtual environments with Conda

Whithin you directory in the terminal/shell, where you want to launch virtualenv, type:

conda create -n env python=3.6 anaconda

to activate virtualenv:

source activate env

to install package:

conda install -n env [package]

to deactivate virtualenv:

source deactivate

Share with:

About author


Art is a FinTech enthusiast who has a great passion for coding and teaching. He earned a M.Sc. from Adelphi University, Garden City, New York. Currently, he develops software for the financial services industry and leads classes and workshops in Python at

Web Development Front-End Immersive

Learn how to use HTML5 and CSS, JavaScript and React to Develop a modern single-page web application.

Learn more

Python Immersive

Become a proficient Python programmer, master programming skills by working on real life projects

Learn more

Python 101

This class aims to help beginners to feel justifiably confident to start using Python programming language

Learn more

Python for Data Science

Acquire Crucial Skills for the 21st century, Weekends , Master your analytical skills by working on real life projects

Learn more

Blockchain 101 NYC

Get introduced to Blockchain from the ground up and Build your own blockchain with Solidity

Learn more