-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Kernel Creation Issue with python 2.7 #6646
Labels
status:Needs Triage
Applied to issues that need triage
Comments
jupyterlab-probot
bot
added
the
status:Needs Triage
Applied to issues that need triage
label
Nov 29, 2022
Hi @ahmadmahmood4040, thank you for submitting this issue. Python 2 reached end of life almost three years ago, it is no longer supported. Due to this I will go ahead and close this issue. If you do find places in the documentation that indicate Python 2 support, we would appreciate if you could let us know by opening up another issue! Thank you! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
While creating an kernel using the ipykernel command facing the below error. Need your kind and quick support.
(python2) [cdp.juphub@bipcdpe02acdfrp ~]$ python -m ipykernel install --user --name python2 --display-name "Python 2"
Traceback (most recent call last):
File "/data6/anaconda/anaconda3/envs/python2/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
File "/data6/anaconda/anaconda3/envs/python2/lib/python2.7/runpy.py", line 111, in _get_module_details
import(mod_name) # Do not catch exceptions initializing package
File "/data6/anaconda/anaconda3/envs/python2/lib/python2.7/site-packages/ipykernel/init.py", line 2, in
from .connect import *
File "/data6/anaconda/anaconda3/envs/python2/lib/python2.7/site-packages/ipykernel/connect.py", line 13, in
from IPython.core.profiledir import ProfileDir
File "/data6/anaconda/anaconda3/envs/python2/lib/python2.7/site-packages/IPython/init.py", line 48, in
from .core.application import Application
File "/data6/anaconda/anaconda3/envs/python2/lib/python2.7/site-packages/IPython/core/application.py", line 23, in
from traitlets.config.application import Application, catch_config_error
File "/data6/anaconda/anaconda3/envs/python2/lib/python2.7/site-packages/traitlets/config/init.py", line 6, in
from .application import *
File "/data6/anaconda/anaconda3/envs/python2/lib/python2.7/site-packages/traitlets/config/application.py", line 17, in
from decorator import decorator
File "/data6/anaconda/anaconda3/envs/python2/lib/python2.7/site-packages/decorator.py", line 162
print('Error in generated code:', file=sys.stderr)
^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered: