[evolve not found even if installed via pip]
Christian Ebert
bcc at phloxic.productions
Sat Mar 20 15:55:32 UTC 2021
* Uwe Brauer on Saturday, March 20, 2021 at 14:07:24 +0100:
>
>> * Uwe Brauer on Saturday, March 20, 2021 at 08:21:49 +0100:
>
> Hm
> I found out that
>
> Pip3 install evolve --user .
I don't have any Pip3 command ...
> 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
This looks a lot like you are using Apple's system python. Which
is probably some python2.7. - No, you say you have python 3.6
installed. Via pip?
You probably make your life easier to install a fink python. At
least that's what I have.
Then for me it installs in an expected --user location, i.e.
$HOME/.local/lib/python3.8/site-packages/
~$ pip --version
pip 18.1 from /opt/sw/lib/python3.8/site-packages/pip (python 3.8)
~$ pip install --user hg-evolve
Collecting hg-evolve
Using cached https://files.pythonhosted.org/packages/e0/85/b277034d7da0c807d8a58b768f7487cd5df35a5d19caf719fa144bd1bb35/hg-evolve-10.3.0.tar.gz
Installing collected packages: hg-evolve
Running setup.py install for hg-evolve ... done
Successfully installed hg-evolve-10.3.0
~$ ls -l .local/lib/python3.8/site-packages/
total 0
drwxr-xr-x 7 chris wheel 224 20 Mar 15:36 hg_evolve-10.3.0-py3.8.egg-info
drwxr-xr-x 8 chris wheel 256 20 Mar 15:36 hgext3rd
~$ hg --config extensions.evolve= help evolve | head -n 6
hg evolve [OPTIONS]...
aliases: stabilize, solve
solve troubled changesets in your repository
Disclaimer: I don't particularly like pip (except for the
possibility to uninstall) and build mercurial myself anyway.
--
._ __ | |__ | | _____ _(_) ___
| '_ \| '_ \| |/ _ \ \/ / |/ __|
| |_) | | | | | (_) > <| | (__ _
| .__/|_| |_|_|\___/_/\_\_|\___(_)
|_| https://phloxic.productions
More information about the Mercurial
mailing list