2 Answers
New AnswerIn IDLE you should already have it, but you can install it with this script: try: import numpy except ImportError: import os x = os.system("py -m pip install numpy") if x == 1: x = os.system("python -m pip install numpy") if x == 0: print("numpy is now installed.") else: print("failed to install numpy.") else: print("numpy is already installed.")
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message