install njumpy code example Example 1: pip numpy pip install numpy Example 2: install numpy sudo pip3 install numpy