【发布时间】:2018-11-19 09:18:14
【问题描述】:
我正在使用 pip 在树莓派 3 上安装 google-auth:
pip install google-auth
pip install --upgrade google-auth
但是当我使用import google.auth 时,我收到以下错误No module named 'google.auth'
(env) pi@raspberrypi:~/Desktop $ python
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linu
Type "help", "copyright", "credits" or "license" for more information
>>> import google.auth
Traceback (most recent call last)
File "<stdin>", line 1, in <module
ImportError: No module named 'google.auth
【问题讨论】:
-
请将您的输出添加为代码格式的文本,而不是图像。
-
感谢您的建议
-
尝试通过
pip uninstall google-auth删除,然后重新安装。如果不起作用'删除可能的 .egg 文件并重新安装 -
如何删除可能的 .egg。当我删除 google-auth 并重新安装时,没有任何改变
标签: python python-3.x raspberry-pi3 google-authentication