Skip to content

twstats and Python 3.10 #5

@leifeld

Description

@leifeld

Looks like twstats doesn't work with Python 3.10 anymore.

Traceback (most recent call last):
File "/usr/bin/twstats", line 33, in
sys.exit(load_entry_point('twtools==0.1', 'console_scripts', 'twstats')())
File "/usr/bin/twstats", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib64/python3.10/importlib/metadata/init.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib64/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/twtools-0.1-py3.10.egg/twtools/twstats.py", line 31, in
ImportError: cannot import name 'json_normalize' from 'pandas.io.json' (/usr/lib64/python3.10/site-packages/pandas/io/json/init.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions