Pyinstaller with crawl4ai module not working? #663
Unanswered
Rapid1898-code
asked this question in
Forums - Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i have created the following program using the crawl4ai module and now try to compile this to an executable file for windows -
Program code which is running fine generally:
I used the following command for the executable creation:
pyinstaller --onefile --add-data="C:/DEVNEU/.venv/crawl4ai/Lib/site-packages/playwright_stealth/js;./playwright_stealth/js" --collect-data fake_http_header.data --collect-data fake_useragent.data crawl_multi_url.py
When i run the above code as python-file its working fine - but when i run the created executable program i get this error:
How can i create a working exe-file using pyinstaller for this?
Beta Was this translation helpful? Give feedback.
All reactions