[Matplotlib-devel] py.test can't find ft2font

swfiua at gmail.com swfiua at gmail.com
Fri Mar 9 12:08:33 EST 2018


I am trying to get tests passing again for this pull request:

https://github.com/matplotlib/matplotlib/pull/8325

They are failing due to differences in the images the latest code is
generating.

The tests themselves advise me to build with "local_freetype=True" in
setup.cfg  and I am doing this.

I am building/installing matplotlib with:

    python3.6 setup.py build

and

    python3.6 setup.py install --user

If I fire up python3.6 then

    from matplotlib import ft2font

works just fine.

But when I run py.test it fails to find it.

Curiously,

python3.6 -m matplotlib.ft2font

is also unable to find ft2font.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20180309/f1bb69a8/attachment.html>


More information about the Matplotlib-devel mailing list