You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeError: __init__() got an unexpected keyword argument 'inputhook' #11962
@Carreau@nschloe Can confirm that downgrading to prompt_toolkit 2.0 solved the issue. I had exactly the same error installing a fresh version of iPython via anaconda.
This same issue occurred when I used ipdb (version 0.12.2) on Windows Subsystem for Linux 1 with python 3.6.9.
I downgraded ipython to 7.9.0 and it worked fine.
I think ipdb doesn't work with ipython 7.10.0.
Activity
oboudry commentedon Nov 25, 2019
I just reinstalled jupyterlab using conda
conda install -c conda-forge jupyterlaband am getting the exact same error when running ipython.Carreau commentedon Nov 25, 2019
Downgrade prompt_toolkit ? Seem like Prompt toolkit 3.0 was released yesterday.
sgjholt commentedon Nov 25, 2019
@Carreau @nschloe Can confirm that downgrading to prompt_toolkit 2.0 solved the issue. I had exactly the same error installing a fresh version of iPython via anaconda.
Carreau commentedon Nov 25, 2019
our
setup.pyalready state that we are only compatible with prompt toolkit version 2. I'll check the conda recipe.Carreau commentedon Nov 25, 2019
Conda-forge should be updated to tell it that the latest IPython is not compatible with ptk 3.
Though the solver may still get you an older version of IPython w/ a new version of prompt toolkit.
Carreau commentedon Nov 26, 2019
Master is compatible with PTK3 if necessary.
suewonjp commentedon Nov 28, 2019
This same issue occurred when I used ipdb (version 0.12.2) on Windows Subsystem for Linux 1 with python 3.6.9.
I downgraded ipython to 7.9.0 and it worked fine.
I think ipdb doesn't work with ipython 7.10.0.
jplana commentedon Nov 28, 2019
Had the same error today after a fresh ipdb install. Downgraded prompt_toolkit to 2.0.10, now it works fine.
Add prompt toolkit 3 compatibility to ipdb
Carreau commentedon Nov 30, 2019
for the ipdb issue please try #11979 I'll try to make a 7.10.1 on monday.
snowman commentedon Dec 3, 2019
downgrade prompt_toolkit package
# --upgrade option can be used as downgrade also ;) $ pip3 install --upgrade --user prompt_toolkit==2.0.10lijunzh commentedon Dec 3, 2019
In conda use the following command to downgrade:
Carreau commentedon Dec 4, 2019
7.10.1 should have been released; you can also upgrade IPython.
Also when downgrading use
<, so that if there is a patch or minor release you can get it.