how to install scipy in code example Example 1: install scipy pip install scipy Example 2: install scypi sudo pip3 install scipy