Mock doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mock (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mock
Description: Ubuntu 10.04 LTS
Release: 10.04
Package: mock
Version: 0.9.7-3
Hi!
I'm trying to execute mock but it doesn't work, it shows the following message:
-- snip --
$ mock
Traceback (most recent call last):
File "/usr/sbin/mock", line 61, in <module>
import mock.exception ImportError: No module named mock.exception
-- snip --
I've looked mock code and I've saw that it searches its modules in a directory that doesn't exist, these directories are:
-- snip --
PYTHONDIR=
PKGPYTHONDIR=
-- snip --
I think that is a problem with Python 2.6 and mock that expects to use python 2.5.
Regards,
Fran
This affects me as well. So far I haven't been able to figure it out.