使用pip install jupyter
安装了Jupyter后,我收到以下错误消息。
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\J>jupyter notebook
Traceback (most recent call last):
File "c:\python27\lib\runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "c:\python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Python27\Scripts\jupyter-notebook.exe\__main__.py", line 5, in <module>
File "c:\python27\lib\site-packages\notebook\notebookapp.py", line 32, in <module>
from zmq.eventloop import ioloop
File "c:\python27\lib\site-packages\zmq\__init__.py", line 42, in <module>
_libsodium = ctypes.cdll.LoadLibrary(bundled_sodium[0])
File "c:\python27\lib\ctypes\__init__.py", line 443, in LoadLibrary
return self._dlltype(name)
File "c:\python27\lib\ctypes\__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 is not a valid Win32 application
C:\Users\J>python
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:40:30) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
C:\Users\J>
但是我安装了Jupyter
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\J>python
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:40:30) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import jupyter
>>>
我上次使用Windows时它是XP所以我习惯了所有的变化(或者从未习惯过它