How should I go about importing the "Colorama" library into a ".py" file? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How should I go about importing the "Colorama" library into a ".py" file?

When I use import colorama it returns an error in Sololearn. ModuleNotFoundError

26th Nov 2021, 1:52 PM
Hyperion
2 Answers
+ 3
Your code is unrelated to your question. So remove the link. Instead post the error message. The library is probably just not available in the code playground. You can get a list of all available modules by running this: help("modules")
26th Nov 2021, 3:25 PM
Simon Sauter
Simon Sauter - avatar
+ 2
Edit - I now realize that I cannot use colorama in Sololearn. I will post the link to my code in replit.com soon :)
26th Nov 2021, 9:17 PM
Hyperion