I get an error when importing google.cloud.bigquery
on GCE.
It did not happen in an environment that is not GCE.
I executed update with pip
.
Do you know why?
user1@sv1:~$ python
Python 3.6.0 |Continuum Analytics, Inc.| (default, Dec 23 2016,12:22:00)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from google.cloud import bigquery
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/user1/miniconda3/lib/python3.6/site-packages/google/cloud/bigquery/__init__.py", line 34, in <module>
from google.cloud.bigquery.client import Client
File "/home/user1/miniconda3/lib/python3.6/site-packages/google/cloud/bigquery/client.py", line 32, in <module>
import google.cloud._helpers
ModuleNotFoundError: No module named 'google.cloud._helpers'
11/11/2018 add Thank you for answering. It did not work since creating a new python using pyenv ,I think my server is something wrong. I reset the server and try again.