timedrive 0.3.1 ImportError: No module named duplicity

Andreas Wilm andreas.wilm at gmail.com
Sat Dec 11 22:40:08 PST 2010


Hi all,

time-drive-2.6 can't find duplicity 0.6.11

$ time-drive-2.6
Traceback (most recent call last):
  File "/opt/local/bin/time-drive-2.6", line 10, in <module>
    from timedrive.app import MainWindow
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/timedrive/app.py",
line 10, in <module>
    from generalsettingsdialog import GeneralSettingsDialog
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/timedrive/generalsettingsdialog.py",
line 14, in <module>
    from advancedsettingsdialog import AdvancedSettingsDialog
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/timedrive/advancedsettingsdialog.py",
line 12, in <module>
    import utils
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/timedrive/utils/__init__.py",
line 20, in <module>
    from duplicity import dup_time
ImportError: No module named duplicity

Problem is that duplicity is registered with Python 2.7 in:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/duplicity
in my case.

I've already tried re-installed duplicity after making sure that
Python 2.6 is the default.
$ python_select  -s
python26

Any idea how to solve this?

Thanks,
Andreas


-- 
Andreas Wilm
andreas.wilm at gmail.com | mail at andreas-wilm.com | 0x7C68FBCC


More information about the macports-users mailing list