jonathanslenders / ptpdb

prompt_toolkit/ptpython pdb frontend
183 stars 20 forks source link

[bug] cannot from ptpdb import set_trace #23

Open Freed-Wu opened 3 years ago

Freed-Wu commented 3 years ago
    from ptpdb import set_trace
  File "/home/wzy/.local/lib/python3.9/site-packages/ptpdb/__init__.py", line 15, in <module>
    from prompt_toolkit.buffer import Buffer, AcceptAction
ImportError: cannot import name 'AcceptAction' from 'prompt_toolkit.buffer' (/home/wzy/.local/lib/python3.9/site-packages/prompt_toolkit/buffer.py)