ImportError: cannot import name 'google'
ImportError: cannot import name 'google'
我正在尝试导入下面的这一行,但出现此错误。
from google import google
.
.
.
ImportError: cannot import name 'google'
这些是我安装的文件。我错过了什么?
$ pip list | grep google
google 2.0.1
google-api-core 1.4.0
google-api-python-client 1.7.4
google-auth 1.5.1
google-auth-httplib2 0.0.3
google-cloud-core 0.28.1
google-cloud-storage 1.12.0
google-resumable-media 0.3.1
googleapis-common-protos 1.5.3
谢谢
Google 是使用 google 发现服务的官方 python 包,您不能在此处覆盖包名称,只需将文件重命名为 [= =10=], 它将为您解决导入问题。
我正在尝试导入下面的这一行,但出现此错误。
from google import google
.
.
.
ImportError: cannot import name 'google'
这些是我安装的文件。我错过了什么?
$ pip list | grep google
google 2.0.1
google-api-core 1.4.0
google-api-python-client 1.7.4
google-auth 1.5.1
google-auth-httplib2 0.0.3
google-cloud-core 0.28.1
google-cloud-storage 1.12.0
google-resumable-media 0.3.1
googleapis-common-protos 1.5.3
谢谢
Google 是使用 google 发现服务的官方 python 包,您不能在此处覆盖包名称,只需将文件重命名为 [= =10=], 它将为您解决导入问题。