Кажется, я успешно установил Gaphor с помощью 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
Я безуспешно
$ 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
Затем я устанавливаю gobject и запускаю sudo port install py26-gobject
. Однако та же проблема сохраняется.
Как вы можете установить Gaphor на OS X от MacPorts?