sh-python-installer icon indicating copy to clipboard operation
sh-python-installer copied to clipboard

line 92: python: command not found

Open pompushko opened this issue 1 year ago • 4 comments

Hello

I got this error when installing 3.11.0: line 92: python: command not found

Is there any bug?

pompushko avatar Dec 13 '23 21:12 pompushko

Hi @pompushko I wil have a look.

tvdsluijs avatar Dec 15 '23 07:12 tvdsluijs

@pompushko was that the only error message you got? It feels a bit that there is no python version at all on your machine. What Machine / OS are you trying to install this upon?

tvdsluijs avatar Dec 15 '23 07:12 tvdsluijs

Hello Im trying to build own image for Pi based on Debian

pompushko avatar Dec 15 '23 16:12 pompushko

I get this too. If you did (for example) this Dockerfile:

FROM arm32v7/ruby:3.1.4-bookworm
ADD script.sh
RUN script.sh

... it fails. I believe the install script sets up the /usr/bin/python3.10 binary but /usr/bin/python does not exist. I guess it can't be a given that every machine has a python of some kind...

Thank you for this script! If I just comment out the rest of it, then Python is set up.

hlascelles avatar Sep 26 '24 18:09 hlascelles