Mindblown/importing.py

6 lines
187 B
Python
Raw Normal View History

2023-06-12 10:09:22 +00:00
# note that running this file is likely gonna install numpy on your 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