AhsanRazi commited on
Commit
9badf97
·
verified ·
1 Parent(s): 6a3a03e

Update setup.py

Browse files
Files changed (1) hide show
  1. setup.py +2 -0
setup.py CHANGED
@@ -6,4 +6,6 @@ async def install_browsers():
6
  await p.install()
7
 
8
  # Run the installer during setup
 
 
9
  asyncio.run(install_browsers())
 
6
  await p.install()
7
 
8
  # Run the installer during setup
9
+ if sys.platform == "win32":
10
+ asyncio.set_event_loop_policy(asyncio.WindowsProactorEventLoopPolicy())
11
  asyncio.run(install_browsers())