-
Notifications
You must be signed in to change notification settings - Fork 715
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
AttributeError
crash on find_module
#782
Comments
Interesting. PyInstaller recently removed PEP 302 support in pyinstaller/pyinstaller@d59c96a, first released in version 5.8.0. Presumably, if you used an older version, it should work. There is still something to be improved in snscrape though. |
find_module
So the only solution currently is to use a pyinstaller version < 5.8.0 when i want to create an executeble with snscrape. |
That is correct. |
find_module
AttributeError
crash on find_module
This comment was marked as spam.
This comment was marked as spam.
hey even i installed pyinstaller but its shows the same error |
For me this worked just fine:
|
Describe the bug
How to reproduce
Compiled with:
pyinstaller --onefile --hidden-import snscrape.modules SaS_on_Twitter.py
Expected behaviour
it should just run like in idle, but as stand-alone exe
Screenshots and recordings
No response
Operating system
Windows 10
Python version: output of
python3 --version
3.8 or 3.11.24
snscrape version: output of
snscrape --version
0.6.1.20230314
Scraper
Twitter-User
How are you using snscrape?
Module (
import snscrape.modules.something
in Python code)Backtrace
No response
Log output
No response
Dump of locals
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: