Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

install colorama python module

Writer Matthew Barrera

I import colorama in python code and I have below error :

Traceback (most recent call last):
File "stevoku.py", line 5, in <module>
import colorama
ImportError: No module named colorama

and I install colorama and I too this error. I install colorama :

apt-get install python-colorama
0

2 Answers

Install it using pip

sudo pip install colorama

If you don't have pip read How to install pip for python 3 in ubuntu 12.04 LTS


Another way is to download colorama module from here.

Now extract the package

cd colorama*

Then run

python setup.py install
2

Another possible solution:
Install it by using:

sudo apt-get install python-colorama

You need sudo if you want to use apt-get.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy