Search code examples
pythoncolorama

How to install Colorama in Python?


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?


Solution

  • Python packages are installed using setup.py by entering the following command from a command line:

    python setup.py install