无法在 PyCharm 上安装 googleapiclient

Cannot install googleapiclient on PyCharm

我最近在我的 Raspberry Pi 3 b+(运行 版本 9 [Stretch])上安装了 PyCharm,但我在 [=28= 上安装 googleapiclient 软件包时遇到了一些问题]和系统。

当我为此软件包执行 pip/pip3 安装时,我收到一条错误消息:

ERROR: Could not find a version that satisfies the requirement googleapiclient (from versions: none)

ERROR: No matching distribution found for googleapiclient

这与我在 PyCharm 上尝试执行 pip 安装时收到的错误消息相同。 Python 3.7.3 已安装,默认为 2.7.13。 PyCharm 项目解释器是 运行 3.5。 我也执行了 apt-get 更新和升级。

我也能够使用 pip/pip3 成功安装其他软件包。

我是否遗漏了任何其他 packages/dependencies?

我想你只是用错了名字。按照规定尝试 pip install google-api-python-client here

我遇到了同样的问题,尽管我在我的 cmd Pycharm 中安装了软件包但无法识别它,因此在 Pycharm 终端中执行相同的命令为我解决了这个问题。