cannot find mercurial python module: using wrong python
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hg-fast-export (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
when I run hg-fast-export I get this output:
Traceback (most recent call last):
File "/usr/share/
from mercurial import repo,hg,
ImportError: No module named mercurial
git-fast-import statistics:
The hg-fast-export shell script is calling python which is python3, but the mercurial python module is 2.7 only.
I can work around by setting PYTHON=python2.7 environment variable, but this package should do this itself.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: hg-fast-export 20120618-1
ProcVersionSign
Uname: Linux 3.2.0-29-generic x86_64
NonfreeKernelMo
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Fri Nov 16 21:19:50 2012
MarkForUpload: True
PackageArchitec
ProcEnviron:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: hg-fast-export
UpgradeStatus: Upgraded to quantal on 2012-10-12 (35 days ago)