A common gotcha is python3 versus python. Ensure you are calling the correct one when running your install command ('pip install torch' v. 'pip3 install torch').
You can verify which you are running my with 'python3 --version' v. 'python --version'