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
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:
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!
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: