[evolve not found even if installed via pip]

Christian Ebert bcc at phloxic.productions
Sat Mar 20 10:47:32 UTC 2021


* Uwe Brauer on Saturday, March 20, 2021 at 08:21:49 +0100:
>>>> "CE" == Christian Ebert <bcc at phloxic.productions> writes:
>> * Uwe Brauer on Friday, March 19, 2021 at 22:06:38 +0100:
>>> I am also using a MacBook Air running 10.15 and installed, for the
>>> moment, fink for a more linux like environment.
>>> I could successfully install mercurial (5.2 but that is fine, since
>>> some
>>> of my extension would run with new version) but there seems no way to
>>> install (python) pip, which would allow me easily to install evolve.
>>> Any ideas.
> 
>> $ fink list pip-py
> 
> Thanks:
> 
> so I changed into my cloned evolve repository and run
> pip3 install --user .
> It installs
> 
> But when I run
> 
> Hg status
> 
> Failed to import Extension evolve no module named evolve

Probably you need to tell fink's python3 about $HOME/lib/python 
where you installed the extension e.g. via PYTHONPATH env. I use 
altinstall.pth:

$ cat /opt/sw/lib/python3.8/site-packages/altinstall.pth
import os, site; site.addsitedir(os.path.expanduser('~/lib/python')); site.addsitedir('/usr/local/lib/python3.8/site-packages');

And of coourse you also need to tell fink's hg where to find 
evolve. I am not using evolve, so I don't know whether you also 
have to specify the path in hgrc when you're setting up the 
extension.

-- 
LAST SHIP HOME                      --->> https://lastshiphome.de
Official Selection                          DOK.fest München 2018
German Ocean Film Award                        CineMare Kiel 2019
Best Documentary Feature   Wales International Film Festival 2020



More information about the Mercurial mailing list