Mindblown/importing.py

6 lines
187 B
Python

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