W
Windmill2mo ago
Enter

Init script playwright

Windmill EE v1.304.3 I want to install playwright via the interface but playwright doesn't seem to install. I tried the example here: https://www.windmill.dev/docs/advanced/preinstall_binaries#example-installing-playwright-via-pip-1 but that doesn't work either. Init Script:
pip install playwright==1.42.0
export PATH=$PATH:/tmp/.local/bin
playwright install
pip install playwright==1.42.0
export PATH=$PATH:/tmp/.local/bin
playwright install
Worker Error: 2024-04-09 23:15:21 2024-04-09T21:15:21.795312Z ERROR windmill_queue::jobs: job 018ec4b7-2443-6ae2-4971-8a8854098925 did not succeed: {"error":{"message":"ExitCode: 1, last log lines:\n.0.3 in /usr/local/lib/python3.11/site-packages (from playwright==1.42.0) (3.0.3)\nRequirement already satisfied: pyee==11.0.1 in /usr/local/lib/python3.11/site-packages (from playwright==1.42.0) (11.0.1)\nRequirement already satisfied: typing-extensions in /usr/local/lib/python3.11/site-packages (from pyee==11.0.1->playwright==1.42.0) (4.11.0)\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\nerror: unknown command 'install\r'","name":"ExecutionErr"}}
0 Replies
No replies yetBe the first to reply to this messageJoin