asnrecon icon indicating copy to clipboard operation
asnrecon copied to clipboard

pip: command not found / python: command not found

Open kristianstarkloffjedox opened this issue 3 years ago • 2 comments

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.

kristianstarkloffjedox avatar Sep 30 '20 19:09 kristianstarkloffjedox

Thanks @kristianstarkloffjedox will look into it!

orlyjamie avatar Oct 01 '20 08:10 orlyjamie

Hi @kristianstarkloffjedox and @orlyjamie ,

I added a check that you mentioned before.

Also, users can change the paths manually.

EmreOvunc avatar Nov 01 '20 16:11 EmreOvunc