This question already has an answer here:
I don't use linux very often, but I need to for this particular python project. Because of that, I'm trying to make an installer for my program using this shell script:
#!/bin/bash apt-get update apt-get install python3-pip -y apt-get install python3-tk -y pip3 install -r requirements.txt
after chmodding it to be executable, and running
sudo sh SETUP.sh I get this output:
: notfound: SETUP.sh: E: Invalid operation update ] is not known. option ' ] is not known. option ' SETUP.sh: 6: SETUP.sh: pip3: not found
The weirdest part is all those commands work on their own if I just manually put them into the command line. What am I doing wrong?