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