import scipypython code example Example 1: install scipy pip install scipy Example 2: install scypi sudo pip3 install scipy