asnrecon
asnrecon copied to clipboard
pip: command not found / python: command not found
When trying this out on a system, where pip
/ python
is missing, I get errors like these:
./install.sh: line 2: pip: command not found
./install.sh: line 3: pip: command not found
...
./install.sh: line 8: python: command not found
The same applies for example for a CentOS 8.2 system even when package python3
and python3-pip
are installed.
I would suggest to add a check in the beginning for ./install.sh
where the scripts checks if these binaries are on a system. I think it is sufficient to check the output of which python3
or which pip3
.
Thanks @kristianstarkloffjedox will look into it!
Hi @kristianstarkloffjedox and @orlyjamie ,
I added a check that you mentioned before.
Also, users can change the paths manually.