failed to import extension evolve: No module named evolve
Malachi de Ælfweald
malachid at gmail.com
Tue Mar 13 20:36:02 UTC 2018
Good catch. Upstream repos didn't have anything newer; but found a PPA.
Malachi de Ælfweald
http://www.google.com/profiles/malachid
On Mon, Mar 12, 2018 at 10:20 PM, Matthew Harbison <matt_harbison at yahoo.com>
wrote:
>
> On Mar 13, 2018, at 1:10 AM, Malachi de Ælfweald <malachid at gmail.com>
> wrote:
>
> Thanks. It would have been helpful if the pip install command actually
> said where it had been installed to.
>
> This worked:
> evolve = ~/.local/lib/python2.7/site-packages/hgext3rd/
>
>
> You might want to upgrade your hg install. 7.2.1 lists its minimum
> version as 4.1
>
> https://www.mercurial-scm.org/repo/evolve/file/6c772398eb4e/
> hgext3rd/evolve/metadata.py
>
>
> Malachi de Ælfweald
> http://www.google.com/profiles/malachid
>
> On Mon, Mar 12, 2018 at 9:55 PM, Faheem Mitha <faheem at faheem.info> wrote:
>
>>
>> On Mon, 12 Mar 2018, Malachi de Ælfweald wrote:
>>
>> Per the instructions, I installed the extension via pip:
>>>
>> [snip]
>>
>>> And added the extension to my ~/.hgrc:
>>> [extensions]
>>> mq =
>>> color =
>>> hgk =
>>> convert =
>>> purge =
>>> evolve =
>>>
>>
>> Whenever I try to run any hg command, it complains that it can't import
>>> the evolve extension:
>>> $ hg status
>>> *** failed to import extension evolve: No module named evolve
>>>
>>
>> It doesn't complain about any other extension. They've been working.
>>>
>> [snip]
>>
>>> but, of course, we can't point to that file in the .hgrc
>>>
>>
>> Yes, you can. See, for example
>>
>> https://www.mercurial-scm.org/wiki/UsingExtensions
>>
>> ######################################################################
>>
>> 2. Enabling an extension
>>
>> To enable the "foo" extension, either shipped with Mercurial or in the
>> Python search path, create an entry for it in your hgrc, like this:
>>
>> [extensions]
>> foo =
>>
>> You may also specify the full path to an extension (which may be either a
>> .py file or a folder containing __init__.py):
>>
>> [extensions]
>> myfeature = ~/.hgext/myfeature.py
>>
>> ######################################################################
>>
>>
>> $ hg -v --version
>>> *** failed to import extension evolve: No module named evolve
>>> Mercurial Distributed SCM (version 3.7.3)
>>>
>>> $ uname -a
>>> Linux enki 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC
>>> 2018 x86_64 x86_64 x86_64 GNU/Linux
>>>
>>> $ python --version
>>> Python 2.7.12
>>>
>>>
>>>
>>> Thoughts?
>>>
>>> Malachi de Ælfweald
>>> http://www.google.com/profiles/malachid
>>>
>>>
> _______________________________________________
> Evolve-testers mailing list
> Evolve-testers at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/evolve-testers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-evolve-testers/attachments/20180313/134ad270/attachment-0002.html>
More information about the Evolve-testers
mailing list