[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: invoke-mf2pt1.sh: 7: python: not found
From: |
Han-Wen Nienhuys |
Subject: |
Re: invoke-mf2pt1.sh: 7: python: not found |
Date: |
Sun, 10 May 2020 22:03:50 +0200 |
On Sun, May 10, 2020 at 9:29 PM Jonas Hahnfeld <address@hidden> wrote:
>
> Am Sonntag, den 10.05.2020, 14:41 -0400 schrieb Dan Eble:
> > I'm trying to upgrade the LilyDev Dockerfile to use Ubuntu 20.04 and I get
> > this error when I try to build. It's coming from here:
> >
> > # realpath doesn't exist on OSX
> > realpath() {
> > python -c "import os; print(os.path.realpath('$1'))"
> > }
> >
> > Is there a Right Way to resolve this? Should this call python3? Should I
> > change the Docker image, say by creating a symlink? TIA.
>
> The short-term solution is to install python-is-python3 which will take
> care of the symlink. Longer term, maybe the script can be made to work
> without python? I know realpath is horrible in sh, but it could be we
> can get around it...
We need python for a host of other things, so dropping it here doesn't
do much good. Now that we've moved to python 3, is it guaranteed that
python3 exists?
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen