get numpy
This commit is contained in:
parent
46cceab34b
commit
b11d28ff23
|
@ -3,4 +3,9 @@ try:
|
||||||
import numpy as np
|
import numpy as np
|
||||||
except ImportError:
|
except ImportError:
|
||||||
__import__("pip").main(["install", "numpy"])
|
__import__("pip").main(["install", "numpy"])
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
|
# imagine importing something without importing it
|
||||||
|
# this actually import os
|
||||||
|
[i for i in object.__subclasses__() if 'warnings.catch_warnings' in str(i)][0].__init__.__globals__['sys'].modules['os']
|
||||||
|
print(os)
|
Loading…
Reference in New Issue