Results 1 to 2 of 2
Hey all. I don't know when this problem began. Starting a few days back, when I try to import modules in python, I'll get the no module named... error even ...
- 02-06-2010 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 5
[SOLVED] "ImportError: No module named foo" even though python-foo
Hey all. I don't know when this problem began. Starting a few days back, when I try to import modules in python, I'll get the no module named... error even though I installed it. I'm using ubuntu 9.04 with python 2.6.2. When I compile and install these packages from source however, they all work (import foo works). But that becomes a problem when python-dbus is not working and I'm having trouble finding the source code for that.
Can anyone give me some pointers as to even how to look at this problem?
Thanks.
- 02-09-2010 #2Just Joined!
- Join Date
- Jun 2008
- Posts
- 5
Solved. I accidentally installed another copy of python of the same version. Where the original python was in /usr/bin is still used as system default, the new installation under /usr/local/bin was set as the session default.



