Pyinstaller with crawl4ai module not working? #9036
Replies: 2 comments
-
Does collecting data files for |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think that helped - using this command it seems to work now:
Thanks for your help! |
Beta Was this translation helpful? Give feedback.
0 replies
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