Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Regression: import fails (MacOS X 10.10.1, Python 3.4.2, matplotlib ca10a34e06645c35a98e9ed3db35f6a8efee70f2 ) #3870

Closed
Labels
@HubertHolin

Description

@HubertHolin

Using MacOS X 10.10.1, Python 3.4.2, matplotlibca10a34 and the simple input "import matplotlib" results in failure with the following message:

Traceback (most recent call last):  File "<stdin>", line 1, in <module>  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/matplotlib/__init__.py", line 1100, in <module>    rcParams = rc_params()  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/matplotlib/__init__.py", line 956, in rc_params    return rc_params_from_file(fname, fail_on_error)  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/matplotlib/__init__.py", line 1069, in rc_params_from_file    config_from_file = _rc_params_in_file(fname, fail_on_error)  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/matplotlib/__init__.py", line 995, in _rc_params_in_file    with _open_file_or_url(fname) as fd:  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/contextlib.py", line 59, in __enter__    return next(self.gen)  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/matplotlib/__init__.py", line 980, in _open_file_or_url    with io.open(fname, encoding=locale.getdefaultlocale()[1]) as f:  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/locale.py", line 556, in getdefaultlocale    return _parse_localename(localename)  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/locale.py", line 484, in _parse_localename    raise ValueError('unknown locale: %s' % localename)ValueError: unknown locale: UTF-8

The import works without problem, however, using MacOS X 10.10.1, Python 3.4.2, matplotlib-1.4.2 .

Hubert Holin

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp