Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with kima-showresults on OS X #47

Open
j-faria opened this issue Jul 4, 2018 · 1 comment
Open

Problem with kima-showresults on OS X #47

j-faria opened this issue Jul 4, 2018 · 1 comment

Comments

@j-faria
Copy link
Owner

j-faria commented Jul 4, 2018

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?

@saeedm31
Copy link

saeedm31 commented Nov 1, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants