Python – How to install Colorama in Python

coloramapython

I downloaded the colorama module for python and I double clicked the setup.py. The screen flashed, but when I try to import the module, it always says 'No Module named colorama'

I copied and pasted the folder under 'C:\Python26\Lib\site-packages' and tried to run the setup from there. Same deal. Am I doing something wrong?

Thanks,
Mike

Best Solution

Installing with pip is almost always the way to go. It will handle downloading the package for you, as well as any dependencies. If you don't have pip, see http://www.pip-installer.org/en/latest/installing.html

Then

pip install colorama

or

sudo pip install colorama

Ba-boom! Done.