When I am trying to build an executable for my python script it gives me:
pkg_resources.DistributionNotFound: The \'google-cloud-firestore\' distribution wa
If you are not able to locate hooks-google.cloud.py
in the PyInstaller package, you can try to locate it in:
C:\Users\\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks
or if you are using a virtual environment, you can look for _pyinstaller_hooks_contrib\hooks
instead if you are using it to build the exe file.
If the error still persists, you can take a look at the build log to locate where hook-google.cloud.py
is built from.
I hope this helps somebody out in the future as it works for me.