pip command to install scipy-spatial code example Example 1: install scipy pip install scipy Example 2: install scypi sudo pip3 install scipy