[evolve not found even if installed via pip]

Uwe Brauer oub at mat.ucm.es
Sat Mar 20 13:07:24 UTC 2021


> * Uwe Brauer on Saturday, March 20, 2021 at 08:21:49 +0100:

Hm 
I found out that 

Pip3 install evolve --user .

Results in 
,----
| 
| Building wheels for collected packages: hg-evolve
|   Building wheel for hg-evolve (setup.py) ... done
|   Created wheel for hg-evolve: filename=hg_evolve-10.1.0-cp38-none-any.whl size=212209 sha256=307ca3268521094797ab90c1212cf9c97d91c7bf174d2b68545088fdf14675f0
|   Stored in directory: /private/var/folders/j1/7bbsk0jj6nxd5yxndqwvb1t00000gn/T/pip-ephem-wheel-cache-i9f8n6gp/wheels/32/5a/b1/ae025aed6fe69bf981e9bc4d8c9e1f7cfdd95e527e84c25424
| Successfully built hg-evolve
| Installing collected packages: hg-evolve
|   Found existing installation: hg-evolve 10.1.0
|     Uninstalling hg-evolve-10.1.0:
|       Successfully uninstalled hg-evolve-10.1.0
| Successfully installed hg-evolve-10.1.0
| WARNING: You are using pip version 19.2.3, however version 21.0.1 is available.
| You should consider upgrading via the 'pip install --upgrade pip' command.
| 
`----


But in fact it lands in 

/User/oub/Library/Caches/com.apple.python/private/var/folders/j1/7bbsk0jj6nxd5yxndqwvb1t00000gn/T/pip-install-ciy2djwn/hg-evolve
/User/oub/Library/Caches/com.apple.python/private/var/folders/j1/7bbsk0jj6nxd5yxndqwvb1t00000gn/T/pip-install-9gico4lg/hg-evolve


Which is sort of bizarre, shall I try to run it system whide

> 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');

Not sure I understand, I don't have this altinstall (but I have python
3.6, so should I upgrade.

> 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.

I think I should not 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210320/5edec16e/attachment.p7s>


More information about the Mercurial mailing list