python how to install numpy code example Example 1: install numpy pip install numpy Example 2: install numpy sudo pip3 install numpy