jmespath / jmespath.terminal

JMESPath exploration tool in the terminal
Other
460 stars 54 forks source link

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

Open a523 opened 1 year ago

a523 commented 1 year ago
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