According to https://github.com/googleapis/google-api-python-client#installation, you need to install the google-api-python-client package:

pip install --upgrade google-api-python-client
Answer from Saber on Stack Overflow
🌐
GitHub
github.com › googleapis › google-cloud-python › issues › 2977
No module named "google" after installing python google-cloud-storage · Issue #2977 · googleapis/google-cloud-python
January 31, 2017 - $ python3 Python 3.4.2 (default, Jan 10 2015, 20:44:27) [GCC 4.8.2] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from google.cloud import storage Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named 'google' >>>
Author   googleapis
Discussions

ModuleNotFoundError: No module named 'google.cloud'
I have the same codes successfully run on Jupyter notebook but not in Knime Python Script Node, both of them are running in the same conda virtual environment, and I connect the Knime Python Script with Conda Environment Propagation Node (to the same virtual environment I am running on Jupyter ... More on forum.knime.com
🌐 forum.knime.com
1
0
October 23, 2022
Erro "No module named" but the module is already installed
Do you have multiple installations of python? Make sure you're using the same version where the module was installed. More on reddit.com
🌐 r/learnpython
9
3
May 19, 2024
Simple but frustrating error: Google.cloud module not found
Have installed Google Cloud via pip and CLI installer, yet programs cannot seem to see import statements from Google.cloud, returning the following error: line 9, in from google.cloud import vision ModuleNotFoundError: No module named ‘google.cloud’ Please advise and thank you for your time. More on discuss.google.dev
🌐 discuss.google.dev
3
2
December 29, 2022
Help PyInstaller: ModuleNotFoundError 'google'
What environment are you in? Windows, Linux, Mac? More on reddit.com
🌐 r/learnpython
14
2
April 4, 2024
People also ask

Where can I find more ModuleNotFoundError fixes?
Browse the ModuleNotFoundError reference hub for 198+ specific module fixes (TensorFlow, Flask, Django, pandas, numpy, etc.). For related issues see ImportError. For broader Python setup see Python Tutorial hub.
🌐
itsourcecode.com
itsourcecode.com › home › modulenotfounderror: no module named ‘google’
Modulenotfounderror: no module named 'google'
Why does my code work in one environment but not another?
Different Python versions or different installed packages. To diagnose: pip freeze &gt; requirements.txt on the working environment, then pip install -r requirements.txt on the broken one. Use virtualenv (python -m venv venv) or conda for every project to avoid system-wide package collisions.
🌐
itsourcecode.com
itsourcecode.com › home › modulenotfounderror: no module named ‘google’
Modulenotfounderror: no module named 'google'
🌐
Google Groups
groups.google.com › g › google-appengine › c › AJJbuQ3FaGI
Import Error: No Module named google.auth
The problem here might be that App Engine already includes a 'google' module, so if you want to vendor in something else in the google namespace, you need to add it to google.__path__.
Top answer
1 of 1
2
@anguslou it seems your environment ‘3kingdom’ is not there at the start and is being created in the process. You might want to create it first and then try again. Also I would recommend not using an integer at the start of the environment name. Then could you check if the usage of the mentioned environment is configured at the Python Script node like this: [image] Next step might be to create a new environment from a fresh YAML file and try to add the google packages exclusively from conda-forge [image] Python Environment Creation Problem KNIME Analytics Platform @kienerj on a Windows machine you can (currently) see the YAML files used under: \knime_4.5.x\plugins\org.knime.python2.envconfigs_4.5.x.yyyyyyyyyy\envconfigs that can help to build one’s own configuration. If you already have built an environment and want to save it in a ‘clean’ (reusable) way the way to go seems to be the --from-history function: Linux … conda env export --from-history | grep -v “prefix” > environment.yaml Windows: conda env export --from-history | findstr -v “pref… [image] Which Python versions works better with Knime? KNIME Extensions @JayR the thing is you will have to find the right combination of Python version and packages that would work with KNIME as well as your individual packages What I would do install Miniconda on your system (how to manage environments) Choose a major Python version (like 3.8) that would most likely work with you package look up a suitable YML file provided by KNIME (python version and operating system) edit the file so it would suite your initial needs. Use only ‘conda-forge’ and add additiona…
Find elsewhere
🌐
Reddit
reddit.com › r/learnpython › erro "no module named" but the module is already installed
r/learnpython on Reddit: Erro "No module named" but the module is already installed
May 19, 2024 -

I've installed "google-generativeai" for Python, using:

pip install -U google-generativeai

But when I run my code, I am receiving error:

import os
import google.generativeai as genai

ModuleNotFoundError: No module named 'google.generativeai'

When I list the modules by "pip list" it shows the module installed.

Anyone knows what to do?

I've already restarted my computer and the error is still showing.

🌐
Google
discuss.google.dev › google cloud › build with ai › ai apis
Simple but frustrating error: Google.cloud module not found - AI APIs - Google Developer forums
December 29, 2022 - Have installed Google Cloud via pip and CLI installer, yet programs cannot seem to see import statements from Google.cloud, returning the following error: line 9, in from google.cloud import vision ModuleNotFoundErro…
🌐
Reddit
reddit.com › r/learnpython › help pyinstaller: modulenotfounderror 'google'
r/learnpython on Reddit: Help PyInstaller: ModuleNotFoundError 'google'
April 4, 2024 -

I'm using PyInstaller to convert a python file into an executable. It seems that it cannot find the google module.

I made sure my PyInstaller is up to date.

Code to recreate the problem.


  1. from google.auth.transport.requests Import Request

  2. def main():

  3. print(Request)

  4. if name == 'main':

  5. main()


ERROR Failed to execute script 'main' due to unhandled exception: No module named 'google'

ModuleNotFoundError: No module named 'google'

Edit: Im using windows

🌐
Itsourcecode
itsourcecode.com › home › modulenotfounderror: no module named ‘google’
Modulenotfounderror: no module named 'google'
1 week ago - Fix Python "ModuleNotFoundError: No module named 'google'" by installing specific google package: pip install google-cloud-storage. 2026 fix.
🌐
GitHub
github.com › protocolbuffers › protobuf › issues › 6135
Getting ModuleNotFoundError: No module named 'google.protobuf' · Issue #6135 · protocolbuffers/protobuf
May 14, 2019 - I am coding a game and on running it I am getting- Traceback (most recent call last): File "<frozen importlib._bootstrap>", line 968, in _find_and_load SystemError: <class '_frozen_importlib._ModuleLockManager'> returned a result with an error set ImportError: numpy.core._multiarray_umath failed to import ImportError: numpy.core.umath failed to import Traceback (most recent call last): File "qlearn.py", line 17, in <module> from keras.initializers import normal, identity File "C:\Users\Win 10\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\__init__.py", line 3, in <module> from
Author   protocolbuffers
🌐
Bobby Hadz
bobbyhadz.com › blog › python-no-module-named-google-cloud
No module named 'google.cloud' in Python [Solved] | bobbyhadz
April 8, 2024 - To solve the Python ModuleNotFoundError: No module named 'google.cloud' error, install the specific google cloud module that you are importing.
🌐
GitHub
github.com › BerriAI › litellm › issues › 5483
litellm.APIConnectionError: No module named 'google' · Issue #5483 · BerriAI/litellm
September 3, 2024 - I set the API Project ID and region but I keep getting hte following error: litellm.APIConnectionError: No module named 'google' Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/s...
Author   BerriAI
🌐
Medium
jaime-lin.medium.com › python-modulenotfounderror-no-module-named-google-4ac903a0f9ef
[Python]ModuleNotFoundError: No module named ‘google’ - Jaime Lin - Medium
June 27, 2021 - [Python]ModuleNotFoundError: No module named ‘google’ I got started to use protobuf in Python , after installed google.protobuf compiler. $ yum install protobuf-compiler Problem Traceback (most …
🌐
ESP32 Forum
esp32.com › viewtopic.php
Cannot run esp_prov.py: No module named 'google' - ESP32 Forum
July 15, 2024 - PS C:\Espressif\frameworks\esp-idf-v5.2.2> pip install bleak PS C:\Espressif\frameworks\esp-idf-v5.2.2> pip install protobuf PS C:\Espressif\frameworks\esp-idf-v5.2.2> pip install cryptography PS C:\Espressif\frameworks\esp-idf-v5.2.2> cd .\tools\esp_prov\ Now invoking `python esp_prov.py` works without error.
🌐
GitHub
github.com › AlmaLinux › build-system › issues › 232
No module named 'google.api' · Issue #232 · AlmaLinux/build-system
December 8, 2023 - I tried downgrading some of the google packages, and while that fixed the problem with google.api, it caused a similar error for google.protobuf.
Author   AlmaLinux
🌐
GitHub
github.com › tensorflow › tensorflow › issues › 6341
ImportError: No module named google.protobuf · Issue #6341 · tensorflow/tensorflow
December 15, 2016 - Problem description This issue happens randomly. For same machine, same CPU,works randomly. I run it for 10 times, 6 times succeed, 4 times fail. Same code is running for every time. The code is import tensorflow as tf # with tf.device('...
Author   tensorflow
🌐
Pmmc
license.pmmc.gov.gh › home › newsreview
Modulenotfounderror: No Module Named Google - Professional Management of Mineral Rights
March 12, 2026 - The Google library is not included in the standard Python library, so it needs to be installed separately. Incorrect Import Statement: Another possible cause of this error is an incorrect import statement. The import statement should be import google or from google import <module_name>, depending on the specific module being used.
🌐
Astral
docs.astral.sh › uv › guides › scripts
Running scripts | uv
December 9, 2025 - $ uv run --no-project example.py Traceback (most recent call last): File "/Users/astral/example.py", line 2, in <module> from rich.progress import track ModuleNotFoundError: No module named 'rich'
🌐
ODK Forum
forum.getodk.org › development
ModuleNotFound running pyODK on Google Colab - Development - ODK Forum
May 20, 2024 - Good day everyone, I am trying to run pyodk script(s) on Google Colab, and getting this error: ModuleNotFoundError Traceback (most recent call last) in 5 from pyodk.client import Client 6 from pyodk.errors import PyODKError 7 from requests import Response ModuleNotFoundError: No module named ...
🌐
PyPI
pypi.org › project › scikit-learn
scikit-learn · PyPI
Publisher: publish_pypi.yml on scikit-learn/scikit-learn Attestations: Values shown here reflect the state when the release was signed and may no longer be current. ... AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page
      » pip install scikit-learn
    
Published   Jun 02, 2026
Version   1.9.0