Open
Description
Describe the bug
Traceback (most recent call last):
File "SaS_on_Twitter.py", line 14, in <module>
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module
File "snscrape\modules\__init__.py", line 17, in <module>
File "snscrape\modules\__init__.py", line 13, in _import_modules
AttributeError: 'FrozenImporter' object has no attribute 'find_module'
[3260] Failed to execute script 'SaS_on_Twitter' due to unhandled exception!
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