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

FileNotFoundError on AWS Lambda due to multiprocessing.Lock in undetected_chromedriver #13

Open
andriibuda opened this issue Oct 2, 2024 · 2 comments

Comments

@andriibuda
Copy link

I’m experiencing a FileNotFoundError when using tiktok_captcha_solver with Playwright in an AWS Lambda environment. The error occurs due to the use of multiprocessing.Lock in the undetected_chromedriver dependency, which is incompatible with AWS Lambda’s execution environment.

image

So regarding your package in the Lambda environment just with PlayWright, it is possible the make Selenium optional?

@gbiz123
Copy link
Owner

gbiz123 commented Oct 5, 2024

I may be able to fix this by just removing the undetected chromedriver dwpendency without touching the selenium dependency. Would this fix work in your environment?

@gbiz123
Copy link
Owner

gbiz123 commented Oct 10, 2024

I’m experiencing a FileNotFoundError when using tiktok_captcha_solver with Playwright in an AWS Lambda environment. The error occurs due to the use of multiprocessing.Lock in the undetected_chromedriver dependency, which is incompatible with AWS Lambda’s execution environment.
image

So regarding your package in the Lambda environment just with PlayWright, it is possible the make Selenium optional?

Following up on my previous comment. Would the proposed solution work in your environment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants