2

Anaconda から IPython Notebook を起動しようとすると、以下のエラーが発生します。アナコンダのバージョンは 1.8.0 です。助けが必要

Shabeers-MacBook-Pro:~ shabeermothi$ /Users/shabeermothi/anaconda/bin/ipython_mac.command ; exit;
Traceback (most recent call last):
  File "/Users/shabeermothi/anaconda/bin/ipython", line 6, in <module>
    sys.exit(start_ipython())
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/__init__.py", line 118, in start_ipython
    return launch_new_instance(argv=argv, **kwargs)
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 544, in launch_instance
    app.initialize(argv)
  File "<string>", line 2, in initialize
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 312, in initialize
    super(TerminalIPythonApp, self).initialize(argv)
  File "<string>", line 2, in initialize
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/core/application.py", line 362, in initialize
    self.parse_command_line(argv)
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 307, in parse_command_line
    return super(TerminalIPythonApp, self).parse_command_line(argv)
  File "<string>", line 2, in parse_command_line
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 474, in parse_command_line
    return self.initialize_subcommand(subc, subargv)
  File "<string>", line 2, in initialize_subcommand
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 405, in initialize_subcommand
    subapp = import_item(subapp)
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/utils/importstring.py", line 42, in import_item
    module = __import__(package, fromlist=[obj])
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/html/notebookapp.py", line 73, in <module>
    from IPython.consoleapp import IPythonConsoleApp
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/consoleapp.py", line 43, in <module>
    from IPython.kernel.zmq.kernelapp import (
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/kernelapp.py", line 54, in <module>
    from ipkernel import Kernel
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/ipkernel.py", line 49, in <module>
    from zmqshell import ZMQInteractiveShell
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/zmqshell.py", line 36, in <module>
    from IPython.core.payloadpage import install_payload_page
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/IPython/core/payloadpage.py", line 24, in <module>
    from docutils.core import publish_string
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/docutils/core.py", line 20, in <module>
    from docutils import frontend, io, utils, readers, writers
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/docutils/frontend.py", line 41, in <module>
    import docutils.utils
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/docutils/utils/__init__.py", line 20, in <module>
    import docutils.io
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/docutils/io.py", line 18, in <module>
    from docutils.utils.error_reporting import locale_encoding, ErrorString, ErrorOutput
  File "/Users/shabeermothi/anaconda/lib/python2.7/site-packages/docutils/utils/error_reporting.py", line 47, in <module>
    locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
  File "/Users/shabeermothi/anaconda/python.app/Contents/lib/python2.7/locale.py", line 511, in getdefaultlocale
    return _parse_localename(localename)
  File "/Users/shabeermothi/anaconda/python.app/Contents/lib/python2.7/locale.py", line 443, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
logout
4

1 に答える 1