Hi to everybody,

I'm trying to run the installation (in-built and not) of SfePy in Mac OS X 10.9 (Mavericks). 

By now, I tried to do it using a python 2.7 distribution that came along with the anaconda package and installing all prerequisites using pip or conda. But when launching 'python setup.py install' or 'python setup.py build', the installer crashes.

My log window:

MacBook-Pro-de-M:sfepy-master slowpoke$ sudo python setup.py install

Traceback (most recent call last):

  File "setup.py", line 239, in <module>

    check_versions()

  File "setup.py", line 143, in check_versions

    show_only=show_only)

  File "/Volumes/Storage_MacLnx/Downloads/sfepy-master/build_helpers.py", line 304, in package_check

    __import__(pkg_name)

  File "/Users/slowpoke/anaconda2/lib/python2.7/site-packages/matplotlib/__init__.py", line 1131, in <module>

    rcParams = rc_params()

  File "/Users/slowpoke/anaconda2/lib/python2.7/site-packages/matplotlib/__init__.py", line 975, in rc_params

    return rc_params_from_file(fname, fail_on_error)

  File "/Users/slowpoke/anaconda2/lib/python2.7/site-packages/matplotlib/__init__.py", line 1100, in rc_params_from_file

    config_from_file = _rc_params_in_file(fname, fail_on_error)

  File "/Users/slowpoke/anaconda2/lib/python2.7/site-packages/matplotlib/__init__.py", line 1018, in _rc_params_in_file

    with _open_file_or_url(fname) as fd:

  File "/Users/slowpoke/anaconda2/lib/python2.7/contextlib.py", line 17, in __enter__

    return self.gen.next()

  File "/Users/slowpoke/anaconda2/lib/python2.7/site-packages/matplotlib/__init__.py", line 1000, in _open_file_or_url

    encoding = locale.getdefaultlocale()[1]

  File "/Users/slowpoke/anaconda2/lib/python2.7/locale.py", line 543, in getdefaultlocale

    return _parse_localename(localename)

  File "/Users/slowpoke/anaconda2/lib/python2.7/locale.py", line 475, in _parse_localename

    raise ValueError, 'unknown locale: %s' % localename

ValueError: unknown locale: UTF-8


Any idea about what could be happening?


Thank you very much in advanced.


MA