Returns True if Numpy is installed otherwise False
()
| 33 | return pickle.loads(data, encoding="bytes") |
| 34 | |
| 35 | def is_numpy_installed(): |
| 36 | ''' |
| 37 | Returns True if Numpy is installed otherwise False |
| 38 | ''' |
| 39 | if importlib.util.find_spec("numpy"): |
| 40 | return True |
| 41 | else: |
| 42 | return False |
| 43 | |
| 44 | def is_python3(): |
| 45 | ''' |
nothing calls this directly
no outgoing calls
no test coverage detected