Tag Archives: packages

How to setup virtual environment with Python3

Python3 is now becoming extremely popular over the traditional Python2.7. And the reasons are varied but many. For one, the support for data science libraries in v3 is far better and greater than version 2. But for the most important and critical reason is, the popular Python 2.7 is being officially retired by 2020. Which simply means that there will be no official support for it beyond that year. So it’s time to migrate your code to the latest edition. Here in this tutorial, we will show how to setup a virtual environment for Python3 for our development purposes.

In this tutorial, we will use Anaconda. It is an open source software, primarily designed to support scientific and analytic Python (and R) packages. Over time it has grown to support  more than 700 packages in both Python2.7 and Python3.x versions. So along with the usual scientific packages like pandas, numpy, sklearn, we have the traditional offerings like Flask, Pymongo libraries supported natively. Furthermore, with the use of pip within anaconda, we can download all that is available for Python out there.

Techie by day, blogger by night. Love the outdoors, enjoy traveling and building new and interesting things. Follow me if you want to know something.