我已经将jupyter以及Atom与python一起使用了一年多了.我目前在macOS 10.14上使用Python 3.7.2.从终端运行Python没问题,这是在运行sys.path之后获得的PATH:
['', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python37.zip', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload', '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages']
我可以在jupyter中打开jupyter笔记本,但是由于某些晦涩的原因,我无法运行该笔记本,并且单击该页面时,页面右上角有一个红色的内核错误,带有以下错误消息:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tornado/web.py", line 1699, in _execute
result = await result
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tornado/gen.py", line 736, in run
yielded = self.gen.throw(*exc_info) #