Closed DMTarmey closed 1 year ago
Hi. What's your question? The message is a deprecation warning, not an error, so your install will have worked. If you want more information on what the deprecation is about, check the discussion in #8559, as suggested in the warning message.
ok i fixed this with pip install google-search-results --use-pep517
i used chatgpt to tell me what to do
i used chatgpt to tell me what to do
FYI ChatGPT probably just read the warning output you gave it and told it back to you:
A possible replacement is to enable the '--use-pep517' option.
Description
DEPRECATION: google-search-results is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Expected behavior
i was installing google scoller python scrapper and got this error >pip install requests parsel lxml beautifulsoup4 google-search-results
pip version
23.0.1
Python version
3.10
OS
win 11
How to Reproduce
C:\Users\darre>pip install requests parsel lxml beautifulsoup4 google-search-results Requirement already satisfied: requests in c:\users\darre\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (2.28.2) Collecting parsel Downloading parsel-1.7.0-py2.py3-none-any.whl (14 kB) Collecting lxml Downloading lxml-4.9.2-cp310-cp310-win_amd64.whl (3.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 6.2 MB/s eta 0:00:00 Collecting beautifulsoup4 Downloading beautifulsoup4-4.11.2-py3-none-any.whl (129 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 129.4/129.4 kB 3.8 MB/s eta 0:00:00
Output
DEPRECATION: google-search-results is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for google-search-results ... done
Code of Conduct