Hi,

Open Terminal.app, then write

nano -w .bashrc

(notice the point before bashrc), then write inside it

export LANG=en_US.UTF-8

and finally press Ctrl+O+Enter+Ctrl+X


Here we are defining a right locale for the console. To start Spyder, close the terminal and start a new one before doing it again.

Cheers,
Carlos

El 24/03/13 14:41, Bon Obo escribió:
hi there,

I am on 10.7, installed spyder via macports together with python27, pep827', py27-pyflakes, py27-sphinx as defaults. I am getting the followin error unfortunately.

thanks for your help...

this is the error message:

Traceback (most recent call last):
  File "/opt/local/bin/spyder", line 6, in <module>
    from spyderlib.baseconfig import get_conf_path
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/baseconfig.py", line 170, in <module>
    _ = get_translation("spyderlib")
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/baseconfig.py", line 149, in get_translation
    lang = locale.getdefaultlocale()[0]
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 503, in getdefaultlocale
    return _parse_localename(localename)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 435, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
--
You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to