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

After start raises ImportError cannot import name 'AcceptAction' #72

Open
andrejli opened this issue Jun 23, 2018 · 2 comments
Open

After start raises ImportError cannot import name 'AcceptAction' #72

andrejli opened this issue Jun 23, 2018 · 2 comments

Comments

@andrejli
Copy link

Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/andrejli/.local/lib/python3.6/site-packages/pymux/main.py", line 5, in
from .entry_points.run_pymux import run
File "/home/andrejli/.local/lib/python3.6/site-packages/pymux/entry_points/run_pymux.py", line 28, in
from pymux.main import Pymux
File "/home/andrejli/.local/lib/python3.6/site-packages/pymux/main.py", line 5, in
from prompt_toolkit.buffer import Buffer, AcceptAction
ImportError: cannot import name 'AcceptAction'

@wookayin
Copy link

wookayin commented Nov 7, 2018

I doubt pymux is ever doing test. Since prompt_toolkit has been upgraded to 2.0, AcceptAction has been removed. But why is it still being used here?

@wookayin
Copy link

wookayin commented Nov 7, 2018

If you are using a released pymux (probably installed from pip), which depends on prompt-toolkit<2.0.0, please downgrade the library.

pip install 'prompt-toolkit<2.0.0'

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

No branches or pull requests

2 participants