You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 a python and a pythonw executable. I think the scripts should use pythonw.
To Reproduce
Fresh kima install, python setup.py install and call kima-showresults
This seems to happen on Python 2.7, not tested on 3.x
Importing and using pykima from within IPython seems to work fine...
Possible solution
replace console_scripts with gui_scripts in the setup.py file?
The text was updated successfully, but these errors were encountered:
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 a
python
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 using
pykima
from within IPython seems to work fine...Possible solution
replace
console_scripts
withgui_scripts
in the setup.py file?The text was updated successfully, but these errors were encountered: