pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: py27-matplotlib graphics output?



On Tuesday 16 April 2013 04:58:56 Havard Eidnes wrote:
> ImportError: cannot import name _tkagg
> 
> In pkgsrc' graphics/py-matplotlib/Makefile I find
> 
> post-patch:
>         ( echo "[directories]"; \
>         echo "basedirlist=/usr"; \
>         echo "[gui_support]"; \
>         echo "gtk = False"; \
>         echo "gtkagg = False"; \
>         echo "tkagg = False"; \
>         echo "wxagg = False" ) > ${WRKSRC}/setup.cfg
> 
> Does that mean that no graphical backend is enabled, and that I
> need to re-build from source to use one of the graphical
> backends?!?  If that isn't necessary, what do I need to do to fix
> this error?

Install one of graphics/py-matplotlib-{gtk2,tk} to get the backend.

cheers
mark


Home | Main Index | Thread Index | Old Index