error while running kmos view
Expected behavior
I expected a GUI to pop up.
Actual behavior
Instead I got this error:
mac95467:myfirst_kmc_local_smart g5q$ kmos view
Warning: GTK not available. Cannot run graphical front-end
No module named gtk
Could not import matplotlib frontend for real-time plotting
Gtk* backend requires pygtk to be installed.
kiwi Validation not working.
RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
Error: numpy.core.multiarray failed to import
Could not find the kmc module. The kmc implements the actual
kmc model. This can be created from a kmos xml file using
kmos export
Traceback (most recent call last):
File "/usr/local/bin/kmos", line 21, in
I have GTK, matplotlib installed. See below where I can load them when I fire-up ipython in the same terminal. I also have the *.so file in the directory: mac95467:myfirst_kmc_local_smart g5q$ ls kmc_model.so kmc_settings.py kmc_settings.pyc src
Any idea what the problem might be?
mac95467:myfirst_kmc_local_smart g5q$ ipython Python 2.7.12 (default, Oct 11 2016, 14:42:58) Type "copyright", "credits" or "license" for more information.
IPython 5.1.0 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details.
In [1]: import numpy as np
In [2]: import scipy as sp
In [3]: import matplotlib as gp
In [4]: import pygtk as pg
In [5]:
Steps to reproduce the issue
System information
- result of
kmos version, operating system, version, python version, possibly link to model file