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
TypeError: in interactiveshell.py, InteractiveShell class, line 331 #14358
Comments
Added a pull request #14359 |
@manish-abio @DrManishSharma this issue looks like a duplicate of #14352 which was fixed in #14353 and released in 8.22.1; you are most likely either running 8.22.0 rather than patched 8.22.1, or have incompatible version of |
I'm running a freshly installed 8.22.2 with this issue I'm on python 3.10.13 |
Hello, I have the "TypeError: type 'List' is not subscriptable" on Python 3.11 with sage 10.3 when I tried to launch It interactive on the CLI. File "/private/var/tmp/sage-10.3-current/local/var/lib/sage/venv-python3.11.8/lib/python3.11/site-packages/IPython/core/interactiveshell.py", line 331, in InteractiveShell |
@RobChad @AntoineHus you need to upgrade traitlets to v5.13 or newer. The pin was added in #14353 but your solver (whichever way you installed IPython may not have picked the correct version). I will close this issue as a duplicate, but if you still experience the problem with the required version of traitlets installed feel free to ask for help (the issue may be that you have two versions installed, for example if mixing pip and conda). |
Errror:
"/home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages/IPython/core/interactiveshell.py", line 331, in InteractiveShell
ast_transformers: List[ast.NodeTransformer] = List(
TypeError: 'type' object is not subscriptable
Solution:
Line 331 should be changed to:
ast_transformers: List = List(
The text was updated successfully, but these errors were encountered: