no module named dulwich (Ubuntu 16.04 python 3.5 hg 5.5)

293 views
Skip to first unread message

Uwe Brauer

unread,
Nov 25, 2021, 12:26:56 PM11/25/21
to hg-git, dan...@gmail.com
Hi all

I am really confused. I am still on Ubuntu 16.04 with python 3.5

So far I have compiled for example mercurial 5.2 with python 2.7 and used hg-git


By adding

hggit = /home/oub/ALLES/src/hg-git-heptapod/hggit

To my global .hgrc file.

I used changesets

◍ changeset: 1616:6942fb0a8c9d
│ Branch: default
│ Author: Manuel Jacob <m...@manueljacob.de>
│ Date: Sat, 01 Jun 2019 16:54:53 +0200
│ Topic: export-additional-refs
│ Phase: draft
│ Summary: git_handler: add mechanism to specify revsets to be exported to Git refs according to a template

○ changeset: 1615:cd663e6379f0
│ Branch: default
│ Author: Manuel Jacob <m...@manueljacob.de>
│ Date: Sat, 01 Jun 2019 16:55:10 +0200
│ Topic: same-ref-for-multiple-changesets
│ Phase: draft
│ Summary: git_handler: make sure that the same ref is not used for multiple changesets

Which are old and the support of named branches I so desperately need,
only works sometimes (more on that later in a different mail).

So I compiled mercurial 5.5 with python 3.5
uninstalled (always running make deb) mercurial 5.2 and installing 5.5


A lot of problems popped up, that I am not going to describe.

I switched then to changeset
4b51ff13e8f5
for hg-git

And tried to clone an experimental repository:

hg clone g...@bitbucket.org:kalthad/emacs-matlab-sand2.git

BUT


*** failed to import extension hggit from /home/oub/ALLES/src/hg-git-heptapod/hggit: No module named 'dulwich'
abort: repository g...@bitbucket.org:kalthad/emacs-matlab-sand2.git not found!


I am confused, since this problem does not occur with hg 5.2 compiled
with python 3.5. any idea what to do?

I am putting Dan on the CC since this changeset is his baby.

Regards

Uwe Brauer

Richard Westhaver

unread,
Nov 25, 2021, 12:34:13 PM11/25/21
to hg-...@googlegroups.com
try 'pip install dulwich'

--
You received this message because you are subscribed to the Google Groups "hg-git" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hg-git+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hg-git/874k80jgdp.fsf%40mat.ucm.es.

Uwe Brauer

unread,
Nov 25, 2021, 4:25:13 PM11/25/21
to Richard Westhaver, hg-...@googlegroups.com
>>> "RW" == Richard Westhaver <richard....@gmail.com> writes:

> try 'pip install dulwich'
sudo -H python3 -m pip install

worked
Reply all
Reply to author
Forward
0 new messages