Closed
Description
I have just upgraded to 2.0 rc2 on Ubuntu 14.04 using sudo pip install https://github.com/matplotlib/matplotlib/archive/v2.0.0rc2.zip
(from 1.5.3, which I got using pip from pypi). After the upgrade I can import matplotlib, but not pyplot:
ilya@ilya-GE40-2OL:~$ python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pyplot as plt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 29, in <module>
import matplotlib.colorbar
File "/usr/local/lib/python2.7/dist-packages/matplotlib/colorbar.py", line 36, in <module>
import matplotlib.contour as contour
File "/usr/local/lib/python2.7/dist-packages/matplotlib/contour.py", line 22, in <module>
import matplotlib.font_manager as font_manager
File "/usr/local/lib/python2.7/dist-packages/matplotlib/font_manager.py", line 1439, in <module>
_rebuild()
File "/usr/local/lib/python2.7/dist-packages/matplotlib/font_manager.py", line 1418, in _rebuild
fontManager = FontManager()
File "/usr/local/lib/python2.7/dist-packages/matplotlib/font_manager.py", line 1053, in __init__
self.ttffiles = findSystemFonts(paths) + findSystemFonts()
File "/usr/local/lib/python2.7/dist-packages/matplotlib/font_manager.py", line 336, in findSystemFonts
for f in get_fontconfig_fonts(fontext):
File "/usr/local/lib/python2.7/dist-packages/matplotlib/font_manager.py", line 303, in get_fontconfig_fonts
return [fname for fname in _call_fc_list()
File "/usr/local/lib/python2.7/dist-packages/functools32/functools32.py", line 400, in wrapper
result = user_function(*args, **kwds)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/font_manager.py", line 284, in _call_fc_list
out = subprocess.check_output(['fc-list', '--format=%{file}'])
File "/usr/local/lib/python2.7/dist-packages/subprocess32.py", line 629, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/subprocess32.py", line 825, in __init__
restore_signals, start_new_session)
File "/usr/local/lib/python2.7/dist-packages/subprocess32.py", line 1387, in _execute_child
for exe in executable_list)
File "/usr/local/lib/python2.7/dist-packages/subprocess32.py", line 1386, in <genexpr>
executable_list = tuple(fs_encode(exe)
File "/usr/local/lib/python2.7/dist-packages/subprocess32.py", line 1385, in <genexpr>
for dir in path_list)
File "/usr/lib/python2.7/posixpath.py", line 73, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 11: ordinal not in range(128)
>>> import matplotlib
>>> matplotlib.__version__
'2.0.0rc2'
Please let me know if you need any more details.
Metadata
Metadata
Assignees
Labels
No labels