[petsc-users] Python version needed for internal scripts

Lisandro Dalcin dalcinl at gmail.com
Wed Oct 14 06:12:02 CDT 2020


On Wed, 14 Oct 2020 at 13:01, Nicolas Barral <
nicolas.barral at math.u-bordeaux.fr> wrote:

>
> 'python' is usually an alias for python2, so making it point at python3
> seems a bit dangerous. Yet, python2 was removed from recent Ubuntus and
> maybe others, and if I have no python2 installed, and no 'python' alias,
> I have to manually edit all the scripts.
>
>
apt install python-is-python3

and you should get the alias python -> python3 in /usr/bin

Disclaimer: I'm not an Ubuntu user. Google and inform yourself.

-- 
Lisandro Dalcin
============
Senior Research Scientist
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20201014/e946a228/attachment.html>


More information about the petsc-users mailing list