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