1

trying to run Colorama module in Ubuntu terminal python3. Runs fine in Thonny IDE but not in terminal or IDLE. Ubuntu says Colorama is installed?

  Traceback (most recent call last):
  File "colorama.py", line 1, in <module>
    from colorama import Fore, Back, Style
  File "/home/simon/Documents/python/RPG/colorama.py", line 1, in <module>
    from colorama import Fore, Back, Style
  ImportError: cannot import name 'Fore' from partially initialized module 'colorama' (most  likely due to a circular import) (/home/simon/Documents/python/RPG/colorama.py)
baduker
  • 19,152
  • 9
  • 33
  • 56
SimonJN
  • 23
  • 5

0 Answers0