[cgkit-user] No module named protocols
Brought to you by:
mbaas
|
From: Martin V. <ma...@li...> - 2009-10-18 21:01:19
|
I'm new to cgkit. It seems to be a very nice library, but I can't get it to run.
I'm trying to run it on Python 2.6 under Ubuntu. I've tried both the
alpha9 source download and the Git HEAD.
I have tried it under both 32-bit and 64-bit Ubuntu and get the same
error every time:
martin@vubuntu:~/cgkittest$ viewer.py scene.py
Traceback (most recent call last):
File "/usr/local/bin/viewer.py", line 63, in <module>
from cgkit.all import *
File "/usr/local/lib/python2.6/dist-packages/cgkit/all/__init__.py",
line 54, in <module>
from cgkit.scene import Scene, getScene
File "/usr/local/lib/python2.6/dist-packages/cgkit/scene.py", line
41, in <module>
from Interfaces import ISceneItem
File "/usr/local/lib/python2.6/dist-packages/cgkit/Interfaces/__init__.py",
line 37, in <module>
from isceneitem import ISceneItem, ISceneItemContainer
File "/usr/local/lib/python2.6/dist-packages/cgkit/Interfaces/isceneitem.py",
line 37, in <module>
from protocols import Interface
ImportError: No module named protocols
(The scene.py file is irrelevant and I can omit it from the command
line and get the same error.)
I have googled for the "protocols" module, but I haven't figured out
what it is supposed to be.
This works:
>>> import cgkit
This doesn't:
>>> import cgkit.Interfaces.isceneitem
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "cgkit/Interfaces/__init__.py", line 37, in <module>
from isceneitem import ISceneItem, ISceneItemContainer
File "cgkit/Interfaces/isceneitem.py", line 37, in <module>
from protocols import Interface
ImportError: No module named protocols
Any ideas about what the problem is? Is cgkit supposed to be
compatible with Python 2.6?
--
ma...@li...
http://www.librador.com
|