cannot find mercurial python module: using wrong python

Bug #1079958 reported by Jay R. Wren
6
This bug affects 1 person
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/hg-fast-export/hg-fast-export.py", line 6, in <module>
    from mercurial import repo,hg,cmdutil,util,ui,revlog,node
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
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
NonfreeKernelModules: tusbd
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Fri Nov 16 21:19:50 2012
MarkForUpload: True
PackageArchitecture: all
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)

Revision history for this message
Jay R. Wren (evarlast) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.