Ipython itorch创建python控制台,而不是torch控制台

Ipython itorch创建python控制台,而不是torch控制台,ipython,torch,Ipython,Torch,当我调用itorch时,我得到的不是火炬控制台,而是ipython控制台: ~$ itorch Python 2.7.3 (default, Dec 18 2014, 19:10:20) Type "copyright", "credits" or "license" for more information. IPython 0.12.1 -- An enhanced Interactive Python. ? -> Introduction and overview

当我调用itorch时,我得到的不是火炬控制台,而是ipython控制台:

~$ itorch
Python 2.7.3 (default, Dec 18 2014, 19:10:20)
Type "copyright", "credits" or "license" for more information.

IPython 0.12.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

IPython profile: torch
[IPKernelApp] To connect another client to this kernel, use:
[IPKernelApp] --existing kernel-4469.json --profile torch

In [1]: require 'nn'
  File "<ipython-input-1-d76f3f5020d1>", line 1
    require 'nn'
               ^
SyntaxError: invalid syntax


In [2]: import os

In [3]:
~$itorch
Python 2.7.3(默认,2014年12月18日,19:10:20)
有关详细信息,请键入“版权”、“信用”或“许可证”。
IPython 0.12.1——一种增强的交互式Python。
?         -> 介绍和概述IPython的功能。
%快速参考->快速参考。
帮助->Python自己的帮助系统。
对象?->有关“对象”的详细信息,请使用“对象??”获取更多详细信息。
IPython简介:火炬
[IPKernelApp]要将另一个客户端连接到此内核,请使用:
[IPKernelApp]——现有kernel-4469.json——配置文件
在[1]中:需要'nn'
文件“”,第1行
需要“nn”
^
SyntaxError:无效语法
在[2]中:导入操作系统
在[3]中:

我做错了什么?

iTorch支持iPython v2.3或更高版本。请参阅所需的依赖项。 您似乎有iPython V0.1.2版本,这可能是您看到此行为的原因。

我也有相同的问题(在我的会话中,iPython是v3.0.0)-您修复了此问题吗?