ImportError: No module named google_compute_engine

importerror: no module named 'google-cloud python3
travis modulenotfounderror no module named google_compute_engine
gsutil google_compute_engine
no module named compute
no module named gensim in google cloud platform
boto_config=/dev/null
google_compute_engine ssh key

I used google compute engine from Google Cloud Platform , and I want to store my data in googles storage, so I used the gsutil to send data from compute engine to google storage

Before i updated python2.6.6 to python2.7, gsutil was working fine. But after update to 2.7

it took me lots of time...

P.S I use CenOS6.7

I had exactly the same problem, and I solved it by removing boto settings:

sudo rm -f /etc/boto.cfg

"No module named google_compute_engine" importing , @domenkozar domenkozar mentioned this issue on Jul 4, 2017. ImportError: No module named google_compute_engine NixOS/nixops#693. ImportError: No module named google_compute_engine #378. cuteman opened this issue Aug 5, 2016 · 2 comments Comments. No module named google_compute_engine

This is related to this issue.

Can be solved by running export BOTO_CONFIG=/dev/null before running gsutil

ImportError: No module named google_compute_engine � Issue , ImportError: No module named google_compute_engine #378. Closed. cuteman opened this issue on Aug 5, 2016 � 2 comments. Closed� Quick Task: Fixing “ImportError: No module named google_compute_engine” when building Hue Published on 26 March 2019 in Administration / Version 4 - 2 minutes read - Last modified on 04 February 2020

This worked for me:

vim /etc/boto.cfg

Find the directive where it says:

[Plugin]
plugin_directory = /usr/lib/python3/dist-packages/google_compute_engine/boto

And comment out the plugin_directory by placing the # at the start of the line:

[Plugin]
#plugin_directory = /usr/lib/python3/dist-packages/google_compute_engine/boto

Or, set the BOTO_CONFIG environment variable in the same command:

BOTO_CONFIG=/dev/null gsutil <your command here> ...

Quick Task: Fixing “ImportError: No module named , When building Hue on a Google Compute Engine machine, you might it this issue: ImportError: No module named google_compute_engine. ImportError: No module named google_compute_engine #693. cleverca22 opened this issue Jun 24, 2017 · 8 comments No module named google_compute_engine

Install of boto now broken in 2.0 machine build, line 29, in <module> from google_compute_engine import config_manager ImportError: No module named google_compute_engine. ImportError: No module named google_compute_engine #693 Open delgadom added a commit to ClimateImpactLab/DataFS that referenced this issue Jul 6, 2017

Mapr-Hue : No module named google_compute_engine, Is there an import error in the settings file?): No module named google_compute_engine. In Ubutuntu 14.04 LTS, i cannot install mapr-hue� If you have tried all methods provided above but failed, maybe your module has the same name as a built-in module. Or, a module with the same name existing in a folder that has a high priority in sys.path than your module's. To debug, say your from foo.bar import baz complaints ImportError: No module named bar.

Error 'ModuleNotFoundError: No module named , Hi I get the error 'ModuleNotFoundError: No module named /questions/ 38783140/importerror-no-module-named-google-compute-engine. It works perfectly on the development server but when I deploy to GAE I get “ImportError: No module named sendgrid” I know the files are on the server (I downloaded source back from GAE to test it) and I have other third party libraries that work but not the sendgrid. I spoke to SendGrid tech support but they point back to Google.

Comments
  • While this might work, it's not a durable solution, because the /etc/boto.cfg file contains an explicit warning at the top: "This file is automatically created at boot time [...] Do not edit this file directly"