IPython笔记本语言环境错误安装最新的MacOSX 64位Anaconda Python发行版,在尝试启动IPythonNotebook时,我一直得到一个ValueError。启动IPython很好:3-millerc-~:ipythonPython 2.7.3 |Anaconda 1.4.0 (x86_64)| (default, Feb 25 2013, 18:45:56) Type "copyright", "credits" or "license" for more
information.IPython 0.13.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笔记本:4-millerc-~:ipython notebookValueError中的结果(有追溯功能):Traceback (most recent call last):
File "/Users/millerc/anaconda/bin/ipython", line 7, in <module>
launch_new_instance()
File "/Users/millerc/anaconda/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py", line 388, in launch_new_instance
app.initialize()
File "<string>", line 2, in initialize File "/Users/millerc/anaconda/lib/python2.7/site-packages/IPython/config/application.py",
line 84, in catch_config_error return method(app, *args, **kwargs)
File "/Users/millerc/anaconda/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.py", line 313, in initialize
super(TerminalIPythonApp, self).initialize(argv)
File "<string>", line 2, in initialize File "/Users/millerc/anaconda/lib/python2.7/site-packages/IPython/config/application.py",
line 84, in catch_config_error return method(app, *args, **kwargs)
File "/Users/millerc/anaconda/lib/python2.7/site-packages/IPython/core/application.py", line 325, in initialize
return self.initialize_subcommand(subc, subargv)运行locale来自终端的命令:5-millerc-~:locale
LANG=LC_COLLATE="C"LC_CTYPE="UTF-8"LC_MESSAGES="C"LC_MONETARY="C"LC_NUMERIC="C"LC_TIME="C"LC_ALL=
3 回答
Helenr
TA贡献1780条经验 获得超3个赞
Preferences -> Profiles -> Terminal -> (Environment)
"Set locale variables automatically"
添加回答
举报
0/150
提交
取消