-
Notifications
You must be signed in to change notification settings - Fork 597
Open
Description
First I got:
Traceback (most recent call last):
File "/tmp/diamond", line 25, in <module>
from diamond.server import Server
ImportError: No module named diamond.server
Then I added correct search path (as used by setup.py):
for path in [
os.path.join('/usr', 'share', 'pyshared'),
os.path.join('/opt', 'diamond', 'lib'),
os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'src'))
]:
(to bin/diamond)
$ /usr/bin/python /usr/bin/diamond
Traceback (most recent call last):
File "/usr/bin/diamond", line 26, in <module>
from diamond.server import Server
File "/usr/share/pyshared/diamond/server.py", line 21, in <module>
from diamond.utils.classes import initialize_collector
ImportError: No module named utils.classes
Metadata
Metadata
Assignees
Labels
No labels