How to use the mkl.__version__ function in mkl

To help you get started, we’ve selected a few mkl examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Rolf-Hempel / PlanetarySystemStacker / planetary_system_stacker / planetary_system_stacker.py View on Github external
QT_VERSION,
                             MATPLOTLIB_VERSION,
                             OPENCV_VERSION,
                             NUMPY_VERSION,
                             PSUTIL_VERSION,
                             SCIPY_VERSION,
                             SKIMAGE_VERSION,
                             ASTROPY_VERSION,
                             PIP_VERSION
                             ))

        # MKL might not be installed as a separate package. Therefore add its version number only
        # if it is available.
        try:
            import mkl
            MKL_VERSION = mkl.__version__
            CONTENT += ('''<br>
            MKL: {0}'''.format(MKL_VERSION))
        except:
            pass

        msgBox = QtWidgets.QMessageBox()
        msgBox.setIcon(QtWidgets.QMessageBox.Information)
        msgBox.setWindowIcon(QtGui.QIcon(self.configuration.window_icon))
        msgBox.setText(CONTENT)
        msgBox.setWindowTitle("About PlanetarySystemStacker")
        msgBox.setStandardButtons(QtWidgets.QMessageBox.Ok)
        msgBox.exec()

mkl

Intel® oneAPI Math Kernel Library

MPL-2.0
Latest version published 1 month ago

Package Health Score

67 / 100
Full package analysis