Hi everyone,
Here the results...

$ which -a alternatives

/usr/sbin/alternatives



Then..

$ ls -glo $(which -a alternatives)

-rwxrwx---+ 1 18944 Apr  5  2009 /usr/sbin/alternatives



After that I ran…

$ /usr/sbin/alternatives --verbose --auto python

reading /var/lib/alternatives/python



Just to see if that helped I ran:

$ /usr/sbin/alternatives --test --auto python

auto

/usr/bin/python



/usr/bin/python3.9

39

would link /etc/alternatives/python -> /usr/bin/python3.9



Finally I ran:



$ /usr/sbin/alternatives --display python

python - status is auto.

link currently points to /usr/bin/python3.9

/usr/bin/python3.9 - priority 39

Current `best' version is /usr/bin/python3.9.


Thanks,

Martin

El dom., 15 de mayo de 2022 7:59 p. m., Ken Brown <kbr...@cornell.edu>
escribió:

> On 5/15/2022 6:03 PM, Martin Ortuno wrote:
> > $ ls -glo /usr/bin/python
> >
> > lrwxrwxrwx 1 13 Jun  3  2015 /usr/bin/python -> python2.7.exe
>
> This shows that you have a very old version of python2, going back to
> before the
> python versions were managed by the alternatives system.
>
> You can't expect to have a working Cygwin installation if you selectively
> update
> some packages while keeping old versions of others.  I suggest that you
> update
> to the current release of each package.
>
> Ken
>
> --
> 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
>

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

Reply via email to