Mindblown/importing.py

6 lines
179 B
Python

# note that running this file is gonna install numpy on you computer
try:
import numpy as np
except ImportError:
__import__("pip").main(["install", "numpy"])
import numpy as np