运行 iPython Windows 8 64 位

Run iPython on Windows 8 64 bit

我正在尝试 运行 iPython 我的 Windows 8. 我安装了 python 3.4.0(32 位版本)并成功安装 iPython 通过命令

easy_install ipython[all]

问题是当我尝试 运行 它

ipython notebook

我收到以下错误:

Traceback (most recent call last):
File "C:\Python34\Scripts\ipython-script.py", line 9, in <module>
load_entry_point('ipython==3.1.0', 'console_scripts', 'ipython')()
File "C:\Python34\lib\site-packages\IPython\__init__.py", line 120, in start_ipython return launch_new_instance(argv=argv, **kwargs)
File "C:\Python34\lib\site-packages\IPython\config\application.py", line 573, in launch_instance app.initialize(argv)
File "<string>", line 2, in initialize
File "C:\Python34\lib\site-packages\IPython\config\application.py", line 75, in catch_config_error return method(app, *args, **kwargs)
File "C:\Python34\lib\site-packages\IPython\terminal\ipapp.py", line 321, in initialize super(TerminalIPythonApp, self).initialize(argv)
File "<string>", line 2, in initialize
File "C:\Python34\lib\site-packages\IPython\config\application.py", line 75, in catch_config_error return method(app, *args, **kwargs)
File "C:\Python34\lib\site-packages\IPython\core\application.py", line 369, in initialize self.parse_command_line(argv)
File "C:\Python34\lib\site-packages\IPython\terminal\ipapp.py", line 316, in parse_command_line return super(TerminalIPythonApp, self).parse_command_line(argv)
File "<string>", line 2, in parse_command_line
File "C:\Python34\lib\site-packages\IPython\config\application.py", line 75, in catch_config_error return method(app, *args, **kwargs)
File "C:\Python34\lib\site-packages\IPython\config\application.py", line 471, in parse_command_line return self.initialize_subcommand(subc, subargv)
File "<string>", line 2, in initialize_subcommand
File "C:\Python34\lib\site-packages\IPython\config\application.py", line 75, in catch_config_error    return method(app, *args, **kwargs)
File "C:\Python34\lib\site-packages\IPython\config\application.py", line 402, in initialize_subcommand subapp = import_item(subapp)
File "C:\Python34\lib\site-packages\IPython\utils\importstring.py", line 42, in import_item module = __import__(package, fromlist=[obj])
File "C:\Python34\lib\site-packages\IPython\html\notebookapp.py", line 30, in <module> check_for_zmq('13', 'IPython.html')
File "C:\Python34\lib\site-packages\IPython\utils\zmqrelated.py", line 10, in check_for_zmq import zmq
File "C:\Python34\lib\site-packages\zmq\__init__.py", line 25, in <module> _libsodium = ctypes.cdll.LoadLibrary(bundled_sodium[0])
File "C:\Python34\lib\ctypes\__init__.py", line 429, in LoadLibrary     return self._dlltype(name)
File "C:\Python34\lib\ctypes\__init__.py", line 351, in __init__     self._handle = _dlopen(self._name, mode) 
OSError: [WinError 193] %1 is not a valid Win32 application

可能是某些应用程序的 'name' 指定错误。你能帮我了解如何解决它吗?

谢谢!

Easy_Install 是魔鬼(恕我直言)。您可能想要使用 Continuum Anaconda。 Continuum 解决方案是一种简单 "just works" 的解决方案,有助于避免以后使用 Easy_Install 时很可能遇到的许多麻烦。