On 23.12.2021 06:50, Russell VT wrote:
On Tue, Dec 21, 2021 at 6:34 AM Achim Gratz <strom...@nexgo.de> wrote:
Marco Atzeri writes:
Without Python 3.9 installed python3 should link by default to the
next in the line (likely 3.8)
While python3 still defaults to python38 alternatives should probably
prioritize 38 over 39?
That's how I "fixed" mercurial on my own installation, as it was
complaining about missing the "parsers" module, from inside the Python 3.9
libraries, IIRC.
Thanks for the report.
It is caused by:
$ head /usr/bin/hg -n 20
#!/usr/bin/python3
^^ default 3.9
....
libdir = '../lib/python3.8/site-packages'
^^ but really need 3.8
...
No surprise is not working.
A simple workaround is:
$ cp /usr/bin/hg /usr/local/bin/
$ sed -i -e "1 s/python3$/python3.8/" /usr/local/bin/hg
$ hg --version
Mercurial Distributed SCM (version 6.0)
(see https://mercurial-scm.org for more information)
...
Regards
Marco
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple