[Matplotlib-users] importing pylab??
Hi, I installed scipy a few days ago on my laptop (with os linux debian), but while importing the pylab module from the python-matplotlib (version 0.98.1-1) I got the following error: - Python 2.5.2 (r252:60911, Aug 8 2008, 09:22:44) [GCC 4.3.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import scipy >>> import numpy >>> import pylab Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.5/site-packages/pylab.py", line 1, in from matplotlib.pylab import * File "/usr/lib/python2.5/site-packages/matplotlib/__init__.py", line 128, in from rcsetup import defaultParams, validate_backend, validate_toolbar File "/usr/lib/python2.5/site-packages/matplotlib/rcsetup.py", line 18, in from matplotlib.colors import is_color_like File "/usr/lib/python2.5/site-packages/matplotlib/colors.py", line 39, in import matplotlib.cbook as cbook File "/usr/lib/python2.5/site-packages/matplotlib/cbook.py", line 14, in preferredencoding = locale.getpreferredencoding() File "/usr/lib/python2.5/locale.py", line 514, in getpreferredencoding setlocale(LC_CTYPE, "") File "/usr/lib/python2.5/locale.py", line 478, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting Could you please help me ? Best regards, Saber - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] importing pylab??
hier is the output of locale: locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory [EMAIL PROTECTED] LANGUAGE=de_DE:de:en_GB:en LC_CTYPE="[EMAIL PROTECTED]" LC_NUMERIC="[EMAIL PROTECTED]" LC_TIME="[EMAIL PROTECTED]" LC_COLLATE="[EMAIL PROTECTED]" LC_MONETARY="[EMAIL PROTECTED]" LC_MESSAGES="[EMAIL PROTECTED]" LC_PAPER="[EMAIL PROTECTED]" LC_NAME="[EMAIL PROTECTED]" LC_ADDRESS="[EMAIL PROTECTED]" LC_TELEPHONE="[EMAIL PROTECTED]" LC_MEASUREMENT="[EMAIL PROTECTED]" LC_IDENTIFICATION="[EMAIL PROTECTED]" LC_ALL= Saber - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] importing pylab??
> locale -a locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_COLLATE to default locale: No such file or directory C POSIX Yes I think there is missing package, so i will look for that ... Mike, thank you for your help and make a good work in your bubble ;) Saber - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
