Text of discourse.matplotlib.org › t › matplotlib-import-fail › 18848 as Styx crawled it on Nov 20, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Matplotlib import fail - matplotlib-users - Matplotlib

Matplotlib import fail Community matplotlib-users tacaswell October 16, 2014, 6:50pm 1 Tobais, In the future please send all messages like this to the user mailing list (cc'd) Try using the 1.4.1rc1 release candidate, there are windows installers on sourceforge. If that does not work, please open a new github issue. Tom ··· On Thu, Oct 16, 2014 at 2:43 PM, Tobias Landwehr < [email protected] ...> wrote: Greetings Thomas, I am sorry to disturb you, but I found on github, that you could've already provided a solution to my problem almost three weeks ago.

I couldn't really understand the way how to solve the prob, which is the reason I decided to write you. I am currently working with Python 2.7.2 and want to import the matplotlib. Problems arise obviously since my username-folder contains a non-ascii sign (german Ä). I would prefer to not setup a second user and the user's folder shouldn't/can't be renamed. If you could find some time to deal with the problem over the weekend or give me a hint, how to solve it, I would be really grateful.

Below you'll find the fail report. Many thanks in advance, Tobias Traceback (most recent call last): File "C:\Python27\workspace\ITT\src\itt\statistics\block01\LandCover.py", line 7, in <module> import matplotlib.pyplot as plt File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 1048, in <module> rcParams = rc_params() File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 897, in rc_params fname = matplotlib_fname() File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 759, in matplotlib_fname configdir = _get_configdir() File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 630, in _get_configdir return _get_config_or_cache_dir(_get_xdg_config_dir()) File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 555, in _get_xdg_config_dir path = get_home() File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 323, in wrapper ret = func(*args, **kwargs) File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 509, in _get_home path = os.path.expanduser("~") File "C:\Python27\lib\ntpath.py", line 310, in expanduser return userhome + path[i:] UnicodeDecodeError: 'ascii' codec can't decode byte 0x84 in position 16: ordinal not in range(128) -- Thomas Caswell [email protected] ...