-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
I have created a new env with python==2.7 and install jupyter by 'pip install jupyter'. Then I run notebook by 'jupyter notebook'. But got this, what is wrong? Please help me with this, it really confused me.
Traceback (most recent call last):
File "/data01/home/zhuruofei.2457/CommonLib/py_env/py_27/bin/jupyter-notebook", line 5, in
from notebook.notebookapp import main
File "/data01/home/zhuruofei.2457/CommonLib/py_env/py_27/local/lib/python2.7/site-packages/notebook/notebookapp.py", line 83, in
from .services.contents.manager import ContentsManager
File "/data01/home/zhuruofei.2457/CommonLib/py_env/py_27/local/lib/python2.7/site-packages/notebook/services/contents/manager.py", line 17, in
from nbformat import sign, validate as validate_nb, ValidationError
File "/data01/home/zhuruofei.2457/CommonLib/py_env/py_27/local/lib/python2.7/site-packages/nbformat/init.py", line 33, in
from .validator import validate, ValidationError
File "/data01/home/zhuruofei.2457/CommonLib/py_env/py_27/local/lib/python2.7/site-packages/nbformat/validator.py", line 12, in
from jsonschema import ValidationError
File "/data01/home/zhuruofei.2457/CommonLib/py_env/py_27/local/lib/python2.7/site-packages/jsonschema/init.py", line 21, in
from jsonschema._types import TypeChecker
File "/data01/home/zhuruofei.2457/CommonLib/py_env/py_27/local/lib/python2.7/site-packages/jsonschema/_types.py", line 3, in
from pyrsistent import pmap
File "/data01/home/zhuruofei.2457/CommonLib/py_env/py_27/local/lib/python2.7/site-packages/pyrsistent/init.py", line 3, in
from pyrsistent._pmap import pmap, m, PMap
File "/data01/home/zhuruofei.2457/CommonLib/py_env/py_27/local/lib/python2.7/site-packages/pyrsistent/_pmap.py", line 98
) from e
^
SyntaxError: invalid syntax