Mindblown/importing.py

6 lines
186 B
Python
Raw Normal View History

2023-06-11 22:23:10 +00:00
# note that running this file is likely gonna install numpy on you computer
2023-06-11 22:19:57 +00:00
try:
import numpy as np
except ImportError:
__import__("pip").main(["install", "numpy"])
import numpy as np