Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prompt-toolkit #185

Open
andrii482 opened this issue Jan 26, 2021 · 1 comment
Open

prompt-toolkit #185

andrii482 opened this issue Jan 26, 2021 · 1 comment

Comments

@andrii482
Copy link

andrii482 commented Jan 26, 2021

ERROR: gitsome 0.8.4 has requirement prompt-toolkit<2.1.0,>=2.0.0, but you'll have prompt-toolkit 3.0.9 which is incompatible.

also, it I install required version - I get errors:

  File "/home/andrii/.local/lib/python3.8/site-packages/xonsh/main.py", line 419, in main
    args = premain(argv)
  File "/home/andrii/.local/lib/python3.8/site-packages/xonsh/main.py", line 355, in premain
    env = start_services(shell_kwargs, args)
  File "/home/andrii/.local/lib/python3.8/site-packages/xonsh/main.py", line 308, in start_services
    builtins.__xonsh__.shell = Shell(execer=execer, **shell_kwargs)
  File "/home/andrii/.local/lib/python3.8/site-packages/xonsh/shell.py", line 211, in __init__
    from xonsh.ptk_shell.shell import PromptToolkitShell as shell_class
  File "/home/andrii/.local/lib/python3.8/site-packages/xonsh/ptk_shell/shell.py", line 26, in <module>
    from prompt_toolkit.key_binding.bindings.emacs import (
ImportError: cannot import name 'load_emacs_shift_selection_bindings' from 'prompt_toolkit.key_binding.bindings.emacs' (/usr/lib/python3/dist-packages/prompt_toolkit/key_binding/bindings/emacs.py)
Xonsh encountered an issue during launch
Failback to /bin/bash
Traceback (most recent call last):
  File "/home/andrii/.local/lib/python3.8/site-packages/xonsh/main.py", line 419, in main
    args = premain(argv)
  File "/home/andrii/.local/lib/python3.8/site-packages/xonsh/main.py", line 355, in premain
    env = start_services(shell_kwargs, args)
  File "/home/andrii/.local/lib/python3.8/site-packages/xonsh/main.py", line 308, in start_services
    builtins.__xonsh__.shell = Shell(execer=execer, **shell_kwargs)
  File "/home/andrii/.local/lib/python3.8/site-packages/xonsh/shell.py", line 211, in __init__
    from xonsh.ptk_shell.shell import PromptToolkitShell as shell_class
  File "/home/andrii/.local/lib/python3.8/site-packages/xonsh/ptk_shell/shell.py", line 26, in <module>
    from prompt_toolkit.key_binding.bindings.emacs import (
ImportError: cannot import name 'load_emacs_shift_selection_bindings' from 'prompt_toolkit.key_binding.bindings.emacs' (/usr/lib/python3/dist-packages/prompt_toolkit/key_binding/bindings/emacs.py)
Xonsh encountered an issue during launch
@RitikShah
Copy link

I'm also having issues with this, pip is struggling to handle newer versions w/ older versions and not all my packages will work due to gitsome needing an older version

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

No branches or pull requests

3 participants