Mindblown/importing.py

6 lines
186 B
Python

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