Aug-22-2018, 01:56 PM
tried using your tool python 3.7.0, OpenSuse Leap 15 Linux
I tries to install errors:
I tries to install errors:
Error:Collecting errors
Could not find a version that satisfies the requirement errors (from versions: )
No matching distribution found for errors
code:from pyGle import PyGle pSearch = PyGle(enable_history=True, use_session_cookies=True) if __name__ == '__main__': pSearch.withQuery("what we want to search").withContainingTwoTerms("Alabaster, Alabama", "business list") ft = pSearch.doSearch() search_results = ft.result() pSearch.pprintHistory() print(search_results)which gives following error:
Error:Traceback (most recent call last):
File ".../src/TryPyGle.py", line 10, in <module>
search_results = ft.result()
File ".../.pyenv/versions/3.7.0/lib/python3.7/concurrent/futures/_base.py", line 432, in result
return self.__get_result()
File ".../.pyenv/versions/3.7.0/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
raise self._exception
File ".../.pyenv/versions/3.7.0/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File ".../venv/lib/python3.7/site-packages/pyGle/extractor/__init__.py", line 270, in __extractor
html, search_time = super().obtain_html_object(url)
File ".../venv/lib/python3.7/site-packages/pyGle/extractor/__init__.py", line 37, in obtain_html_object
built_url = url.build()
File ".../venv/lib/python3.7/site-packages/pyGle/url/__init__.py", line 251, in build
from errors import NullQueryError
ModuleNotFoundError: No module named 'errors'