module import issue when not using --prefix=/usr (eg. /usr/local)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rubber |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I compiled rubber with
./configure
make
sudo make install
but found the following error
Traceback (most recent call last):
File "/usr/bin/rubber", line 3, in <module>
from rubber.cmdline import Main
ImportError: No module named rubber.cmdline
I checked the bug report https:/
After trying to install it into /usr, rubber works fine. The reason is /usr/loca/
I wounder whether this can be solved in the soruce code itself, by using the sys.path?
The install scripts for Rubber were recently rewritten completely. I'm closing this bug, since it applies to the old code.
Please have a try with the new release, and see if the problem is solved. If not, I'll look into it.