Why does /usr/lib/... have precedence over /usr/local/lib/... in python's sys.path?
I am using ubuntu Jaunty, and want to use a PyQt4 snapshot. I can't remove the version provided by Jaunty because other packages depend on it. The old version lives in /usr/lib/
I know I can set PYTHONPATH to override the default setting, but I would consider this to be a bug. If I manually install a package, I obviously prefer it to the one provided by Jaunty's package manager. Jaunty respects that decision in other contexts: the default PATH lists /usr/local/bin before /usr/bin. If this is the intended behavior for python's sys.path, would someone please explain the reasoning?
Thanks,
Darren
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: