Answer the question
In order to leave comments, you need to log in
No module named 'Colorama'. How to fix if it says that it is already installed?
I installed the colorama module and it displays that it is already installed
. At the same time, it does not start this module and gives an error
from colorama import init
from colorama import Fore, Back, Style
# use Colorama to make Termcolor work on Windows too
init()
print(back.green)
what = input ('what are we doing? (+, -): ')
print(back.white)
a = float(input("Enter the first number: "))
b = float(input('Enter the second number: '))
print (back.yellow)
if what == '+':
c = a + b
print('Result: ' + str(c))
if what == '-':
c = a - b
print('Result: ' + str(c))
else:
print('Invalid operation selected!')
File "C:\Users\Nicholas\Desktop\python\1.py", line 4, in
from colorama import *
ModuleNotFoundError: No module named 'colorama'
Answer the question
In order to leave comments, you need to log in
Go to the interpreter settings and check if there is a colorama module there, if not, then add it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question