I’m extremely new to all of this. I went and installed Rich via pip and added the line
from rich import pretty
but I’m getting the error 'no module named ‘rich’. My module is located in \venv\Lib\site-packages\pip_vendor\rich\pretty.py
I also ran
and this is my output:
pip 23.2.1 from C:\Users<username>\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip (python 3.11)
I’ve tried reinstalling, restarting python, checking pip list to see if it’s installed and installing it for my current version. Nothing worked… Could somebody help me?
SOLUTION: I’ve ran cmd and activated the venv following this doc: venv — Creation of virtual environments — Python 3.11.5 documentation
and installed rich from there. Works now!