I seem to install Gaphor successfully by Easy_install
$ sudo easy_install gaphor
Searching for gaphor
Best match: gaphor 0.14.0
Processing gaphor-0.14.0-py2.5.egg
gaphor 0.14.0 is already the active version in easy-install.pth
Installing gaphorconvert script to /usr/local/bin
Installing gaphor script to /usr/local/bin
Using /Library/Python/2.5/site-packages/gaphor-0.14.0-py2.5.egg
Processing dependencies for gaphor
Finished processing dependencies for gaphor
I run it unsuccessfully by
$ gaphor
Traceback (most recent call last):
File "/usr/local/bin/gaphor", line 8, in <module> load_entry_point('gaphor==0.14.0', 'console_scripts', 'gaphor')()
File "/Library/Python/2.5/site-packages/gaphor-0.14.0-py2.5.egg/gaphor/__init__.py", line 65, in main launch()
File "/Library/Python/2.5/site-packages/gaphor-0.14.0-py2.5.egg/gaphor/__init__.py", line 36, in launch from gaphor.application import Application
File "/Library/Python/2.5/site-packages/gaphor-0.14.0-py2.5.egg/gaphor/application.py", line 16, in <module> import gaphor.UML
File "/Library/Python/2.5/site-packages/gaphor-0.14.0-py2.5.egg/gaphor/UML/__init__.py", line 3, in <module>
from gaphor.UML.uml2 import *
File "/Library/Python/2.5/site-packages/gaphor-0.14.0-py2.5.egg/gaphor/UML/uml2.py", line 97, in <module>
from diagram import Diagram
File "/Library/Python/2.5/site-packages/gaphor-0.14.0-py2.5.egg/gaphor/UML/diagram.py", line 12, in <module> import gobject
ImportError: No module named gobject
I then install gobject and run sudo port install py26-gobject. However, the same problem persists.
How can you install Gaphor to OS X by MacPorts?