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
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
Another possible solution:
Install it by using:
sudo apt-get install python-colorama
You need sudo if you want to use apt-get.