Skip to content

Python 3.8 TypeError #6

Description

@4l1fe

Hey, nice to hear you've bumped the version.

I've catched an error while importing RedFrames with python 3.8

Python 3.8.10 (default, Nov 14 2022, 12:59:47)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.34.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import redframes
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-1-8e05403344db> in <cell line: 1>()
----> 1 import redframes

~/.local/lib/python3.8/site-packages/redframes/__init__.py in <module>
      1 from . import stat
----> 2 from .core import DataFrame
      3 from .io import load, save, unwrap, wrap
      4 from .version import __version__

~/.local/lib/python3.8/site-packages/redframes/core.py in <module>
      4 import warnings
      5
----> 6 from .checks import _check_type
      7 from .types import (
      8     Any,

~/.local/lib/python3.8/site-packages/redframes/checks.py in <module>
      1 from __future__ import annotations
      2
----> 3 from .types import (
      4     Any,
      5     Columns,

~/.local/lib/python3.8/site-packages/redframes/types.py in <module>
      9
     10 Value = Any
---> 11 Values = list[Value]
     12 OldValue = Value
     13 NewValue = Value

TypeError: 'type' object is not subscriptable
!pip list
redframes                     1.4.1
pandas                        1.5.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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