Mercurial error, could not import module directory

Benoit Boissinot bboissin at gmail.com
Mon Oct 8 09:50:28 CDT 2007


On 10/8/07, ukdmbfan <matt at nancies.org.uk> wrote:
> Benoit Boissinot-2 wrote:
>  Does "from mercurial import mpatch" work in a python interactive session ?
> No, I get the same error: [*****@vps test]$ python
> Python 2.3.4 (#1, May 2 2007, 19:18:17)
> [GCC 3.4.6 20060404 (Red Hat 3.4.6-8)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from mercurial import mpatch
> Traceback (most recent call last):
>  File "", line 1, in ?
> ImportError:
> /usr/lib/python2.3/site-packages/mercurial/mpatch.so:
> cannot open shared object file: No such file or directory
>
Somehow your installation isn't complete then, does the file above exists ?


More information about the Mercurial mailing list