numpy iinstall code example Example 1: pip numpy pip install numpy Example 2: install numpy py -m pip install numpy