GerapyPlaywright icon indicating copy to clipboard operation
GerapyPlaywright copied to clipboard

This package does not work on Windows

Open xiaoxiao0819 opened this issue 4 years ago • 3 comments

image 环境说明: scrapy 2.5.1 gerapy_playwright 0.2.2 Python 3.6

xiaoxiao0819 avatar Dec 30 '21 07:12 xiaoxiao0819

windows10 测试gerapy_playwright 0.2.2 出现同样问题。

zhutuo avatar Dec 31 '21 04:12 zhutuo

可能问题出在 if sys.platform == 'win32': asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

_WindowsSelectorEventLoop 似乎是没有实现_make_subprocess_transport函数的。或许此问题暂时无解

zhutuo avatar Dec 31 '21 07:12 zhutuo

Check this issue:https://github.com/scrapy-plugins/scrapy-playwright/issues/7#issuecomment-808824121

So, there is no solution on WIndows, I added a note on README.

Germey avatar Jan 09 '22 07:01 Germey