Skip to content

ImportError: cannot import name 'getargspec' from 'inspect'  #29

@a523

Description

@a523
Traceback (most recent call last):
  File "/usr/local/bin//jpterm", line 2, in <module>
    import jpterm
  File "/usr/local/lib/python3.11/site-packages/jpterm.py", line 7, in <module>
    import urwid
  File "/usr/local/lib/python3.11/site-packages/urwid/__init__.py", line 24, in <module>
    from urwid.widget import (FLOW, BOX, FIXED, LEFT, RIGHT, CENTER, TOP, MIDDLE,
  File "/usr/local/lib/python3.11/site-packages/urwid/widget.py", line 33, in <module>
    from urwid.split_repr import split_repr, remove_defaults, python3_repr
  File "/usr/local/lib/python3.11/site-packages/urwid/split_repr.py", line 22, in <module>
    from inspect import getargspec
ImportError: cannot import name 'getargspec' from 'inspect' (/usr/local/Cellar/python@3.11/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/inspect.py)
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe

env:

os : mac
python: Python 3.11.3
other: Pygments-2.15.1 jmespath-1.0.0 jmespath-terminal-0.2.1 urwid-1.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions