从 pip 安装 xGoogle?

Install xGoogle from pip?

有没有办法通过pip安装xGoogle?如果是这样,我该怎么做?我已经尝试过: $ pip install xGoogle 如果没有办法使用 pip 安装,我可以通过 easy-install 来安装吗? 我的操作系统使用 Windows 10。

您可以直接从其 repository 安装它:

$ git clone https://github.com/pkrumins/xgoogle
$ cd xgoogle
$ sudo python setup.py install

应该是:

$ git clone https://github.com/pkrumins/xgoogle
$ cd xgoogle
$ sudo python setup.py install

就我而言,链接的答案没有帮助。

from xgoogle.search import GoogleSearch, SearchError 行中,SearchError 需要 xgoogle、GoogleSearch 和 SearchError Install package xgoogleInstall package GoogleSearchRename reference,但 [=17] 期间发生错误=]命令执行:

Error: Could not find a version that satisfies the requirement xgoogle (from versions: none)

命令输出:

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
ERROR: Could not find a version that satisfies the requirement xgoogle (from versions: none)
ERROR: No matching distribution found for xgoogle

我已经下载 xgoogle.zip from the author's web page,将其解压并放入我的 ~/PycharmProjects/myproject/ 文件夹中。它适用于这个项目。

但是,尽管如此,xgoogle 包现在是 dead