Getting this error: ModuleNotFoundError: No module named 'fpdf'
I've re-downloaded python, created a new venv and installed fpdf2 using pip install fpdf2
, but I still get this error when I run from fpdf import FPDF
python version: 3.10.4
I've looked all over stack overflow and through the github issues and haven't found any solutions, and have no idea what to try next.
I was using VSCode's Jupyter extension and it wasn't using the same virtual environment that the terminal was using - so the install wasn't going to the right place. Once I aligned the two virtual environments, it worked fine.