[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] ImportError: No module named rdiff_backup.Main
From: |
Tamashii |
Subject: |
[rdiff-backup-users] ImportError: No module named rdiff_backup.Main |
Date: |
Fri, 29 Jul 2011 06:00:24 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 |
Hello Everyone!
I've been looking at guides and fix-suggestions for this error for
several hours - did not help - so I'll try my luck here.
I've never coded anything in python - I'm just trying to run the
program. (So I have a hard time finding the problem.)
The Problem:
address@hidden:/usr/lib/python2.6/dist-packages# rdiff-backup -V
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 20, in <module>
import rdiff_backup.Main
ImportError: No module named rdiff_backup.Main
I'm running Debian 6, installed the package via. "apt-get install
rdiff-backup"
These are my paths:
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload',
'/usr/local/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages']
>>>
I've already copied the folder to any imagineable location - no luck:
address@hidden:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep
Main.py
/usr/lib/pymodules/python2.6/rdiff_backup/Main.py
/usr/lib/pyshared/python2.6/rdiff_backup/Main.py
/usr/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/local/lib/python2.6/dist-packages/rdiff_backup/Main.py
/usr/share/pyshared/rdiff_backup/Main.py
address@hidden:/usr/lib/python2.6/dist-packages# locate rdiff_backup | grep
1.2.8
/usr/lib/pymodules/python2.6/rdiff_backup-1.2.8.egg-info
/usr/share/pyshared/rdiff_backup-1.2.8.egg-info
Those directories above should all be in the python path.
address@hidden:/usr/lib/python2.6/dist-packages# locate rdiff-backup
/etc/bash_completion.d/rdiff-backup
/usr/bin/rdiff-backup
/usr/bin/rdiff-backup-statistics
/usr/share/doc/rdiff-backup
/usr/share/doc/rdiff-backup/FAQ.html
/usr/share/doc/rdiff-backup/README
/usr/share/doc/rdiff-backup/README.Debian
/usr/share/doc/rdiff-backup/changelog.Debian.gz
/usr/share/doc/rdiff-backup/changelog.gz
/usr/share/doc/rdiff-backup/copyright
/usr/share/doc/rdiff-backup/examples.html
/usr/share/man/man1/rdiff-backup-statistics.1.gz
/usr/share/man/man1/rdiff-backup.1.gz
/usr/share/python-support/rdiff-backup.public
/var/cache/apt/archives/rdiff-backup_1.2.8-6_amd64.deb
/var/lib/dpkg/info/rdiff-backup.conffiles
/var/lib/dpkg/info/rdiff-backup.list
/var/lib/dpkg/info/rdiff-backup.md5sums
/var/lib/dpkg/info/rdiff-backup.postinst
/var/lib/dpkg/info/rdiff-backup.prerm
Any ideas what I can try to solve this?
Thanks in advance,
Alexander
- [rdiff-backup-users] ImportError: No module named rdiff_backup.Main,
Tamashii <=