#๐ requests-html couldn't install chromium on Windows 11.
6 messages ยท Page 1 of 1 (latest)
@warped cosmos
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Closes after a period of inactivity, or when you send !close.
[INFO] Starting Chromium download.
Traceback (most recent call last):
File "C:\Users\petah\Programming\WebScraper\main.py", line 5, in <module>
request.html.render(sleep=1)
File "C:\Users\petah\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests_html.py", line 586, in render
self.browser = self.session.browser # Automatically create a event loop and browser
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\petah\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests_html.py", line 730, in browser
self._browser = self.loop.run_until_complete(super().browser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\petah\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 685, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\petah\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests_html.py", line 714, in browser
self._browser = await pyppeteer.launch(ignoreHTTPSErrors=not(self.verify), headless=True, args=self.__browser_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\petah\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyppeteer\launcher.py", line 307, in launch
return await Launcher(options, **kwargs).launch()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\petah\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyppeteer\launcher.py", line 120, in __init__
download_chromium()
File "C:\Users\petah\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyppeteer\chromium_downloader.py", line 138, in download_chromium
extract_zip(download_zip(get_url()), DOWNLOADS_FOLDER / REVISION)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\petah\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyppeteer\chromium_downloader.py", line 82, in download_zip
raise OSError(f'Chromium downloadable not found at {url}: ' f'Received {r.data.decode()}.\n')
OSError: Chromium downloadable not found at https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1181205/chrome-win.zip: Received <?xml version='1.0' encoding='UTF-8'?><Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Details>No such object: chromium-browser-snapshots/Win_x64/1181205/chrome-win.zip</Details></Error>.
@warped cosmos
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.