Spaces:
Sleeping
Sleeping
Update setup.py
Browse files
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())
|