2

Is there a way to install xGoogle through pip? If so, how do I do this? I have already tried: $ pip install xGoogle If there is not a way to install using pip, can I do it through easy-install? I am using Windows 10 for my operating system.

MagisterTech
  • 107
  • 1
  • 12

3 Answers3

5

You can install it directly from its repository doing:

$ git clone https://github.com/pkrumins/xgoogle
$ cd xgoogle
$ sudo python setup.py install
Lucas Godoy
  • 792
  • 8
  • 17
0

It should be:

$ git clone https://github.com/pkrumins/xgoogle
$ cd xgoogle
$ sudo python setup.py install
YJ. Yang
  • 978
  • 2
  • 11
  • 19
0

In my case linked answer did not help.

In from xgoogle.search import GoogleSearch, SearchError line, xgoogle, GoogleSearch and SearchError required Install package xgoogle, Install package GoogleSearch and Rename reference for SearchError, but Error occurred during pip install xgoogle command execution:

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

Command output:

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

I've downloaded xgoogle.zip from the author's web page, extracted it and placed it into my ~/PycharmProjects/myproject/ folder. And it works for this project.

But, nevertheless, xgoogle package is dead now.

Gryu
  • 2,102
  • 2
  • 16
  • 29