Open j-faria opened 6 years ago
I got the "ValueError: Failed to find font DejaVu Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=10.0, and fallback to the default font was disabled" in mac os I solved with: $ python3 -m venv mpltest $ source mpltest/bin/activate $ pip install matplotlib and then $ kima-showresults all
On a Mac,
kima-showresults
fails because of matplotlib, which in turn fails because it's run with a non-application python. It seems that in OS X the anaconda installation of python has both apython
and apythonw
executable. I think the scripts should usepythonw
.To Reproduce
Fresh kima install,
python setup.py install
and callkima-showresults
This seems to happen on Python 2.7, not tested on 3.x Importing and usingpykima
from within IPython seems to work fine...Possible solution
replace
console_scripts
withgui_scripts
in the setup.py file?