Launching Write or Reflect? (in Python)

I tried to run the game on my Mac by opening Terminal app, navigating to the writeorreflect directory and typing python3 wor.py

This gave an error indicating the game was trying to import a module I didn’t have on my computer:

  File "/Users/wadeclarke/Downloads/writeorreflect/wor.py", line 9, in <module>
    import colorama
ModuleNotFoundError: No module named 'colorama'

After a quick glance at a Stack Overflow topic, I entered:
pip3 install colorama

This installed colorama. Then I returned to the writeorreflect directory, repeated
python3 wor.py

and it was running.

I assume some others will probably encounter this problem, so even if my solution doesn’t work word for word on your machine, it should get you in the ballpark.

-Wade

7 Likes