Friday, March 25, 2016

Python Tips: Avoid pip as much as possible

So, I have been coding in python now for about 3 years and have been extensively coding in it. 

My first advice to coders in python. AVOID PIP.

You might think what is this guy talking about. Well, as you may know : "pip is a package management system used to install and manage software packages written in python". But, the disadvantage of pip is it does not manage dependencies well. So if you are a python beginner and want to avoid spending (wasting ??) time on installations, avoid it as much as possible. 


A very good alternative is conda. Download the shell script for your system (it supports Windows, Mac and Linux) and run it. And you are good to go. And installing works just like pip (and you don't even need to sudo).

So do conda install scikit-learn instead of sudo pip install sklearn for happier coding....