You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Python 3.9.3 on ArchLinux and launching snscrape is met with the following:
Traceback (most recent call last):
File "/usr/bin/snscrape", line 8, in <module>
sys.exit(main())
File "/usr/lib/python3.9/site-packages/snscrape/cli.py", line 224, in main
args = parse_args()
File "/usr/lib/python3.9/site-packages/snscrape/cli.py", line 159, in parse_args
import snscrape.modules
File "/usr/lib/python3.9/site-packages/snscrape/modules/__init__.py", line 15, in <module>
_import_modules()
File "/usr/lib/python3.9/site-packages/snscrape/modules/__init__.py", line 12, in _import_modules
module = importlib.import_module(moduleName)
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/lib/python3.9/site-packages/snscrape/modules/telegram.py", line 12, in <module>
class TelegramPost(typing.NamedTuple, snscrape.base.Item):
File "/usr/lib/python3.9/typing.py", line 1881, in _namedtuple_mro_entries
raise TypeError("Multiple inheritance with NamedTuple is not supported")
TypeError: Multiple inheritance with NamedTuple is not supported
Adding the "-vv" and "--dump-locals" switches does not change this output. By searching the web it seems this is an issue with modules not supporting python 3.9, can you confirm ? Any quick workaround, or is my only option a venv on python 3.8 ?
Thanks a lot !
The text was updated successfully, but these errors were encountered:
This is fixed in the development version. The release 0.3.4 does indeed not support Python 3.9. I hope to find some time soon to finish a few loose ends and release a new version. Until then, you can either use the dev version or the release with Python 3.6 to 3.8.
Hello,
I'm using Python 3.9.3 on ArchLinux and launching snscrape is met with the following:
Adding the "-vv" and "--dump-locals" switches does not change this output. By searching the web it seems this is an issue with modules not supporting python 3.9, can you confirm ? Any quick workaround, or is my only option a venv on python 3.8 ?
Thanks a lot !
The text was updated successfully, but these errors were encountered: