When doing pip3.12 install google
and running import google
I get the error ModuleNotFoundError: No module named 'google'
.
When checking the libraries folder (/home/pi/.local/lib/python3.12/site-packages/) I can see that there is a folder named google-3.0.0.dist-info
and another one named googlesearch
but no folder named google
.
I tried using venv
and reinstalling the package multiple times with no luck.
I was installing the wrong library (I wanted google-api-core
not googlesearch
) as @Anya Shenanigans mentioned