Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to launch Playwright #1430

Closed
username-mike opened this issue Dec 24, 2023 · 2 comments
Closed

Unable to launch Playwright #1430

username-mike opened this issue Dec 24, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@username-mike
Copy link

Describe the bug
Crawlab is returning an error "ModuleNotFoundError" when attempting to run a spider using Playwright

image

To Reproduce
Steps to reproduce the behavior:
Create a basic spider with the following code -

image

Ensure playwright is installed
image

Run the task on the node with Playwright installed and the bug is returned.

Can you let me know what we are doing wrong in this set up? Is there a guide to help with the install of Playwright?

@username-mike username-mike added the bug Something isn't working label Dec 24, 2023
@username-mike
Copy link
Author

I found some information from another ticket (#1426) that is related to the issue I'm encountering. Launching the crawler with the python command instead of python3 seems to have corrected the ModuleNotFoundError message.

@username-mike
Copy link
Author

I've confirmed that changing the command to "python" resolved the issue. I'm going to close this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant