pythran-openblas

raw JSON →
0.3.6 verified Fri May 01 auth: no python

Python packaging of OpenBLAS optimized BLAS library, version 0.3.6. Provides a simple way to install OpenBLAS as a Python package, mainly used by pythran for acceleration. Low release cadence, no recent updates.

pip install pythran-openblas
error ModuleNotFoundError: No module named 'pythran_openblas'
cause Package not installed or wrong Python environment.
fix
Run 'pip install pythran-openblas' in the correct environment.
error AttributeError: module 'pythran_openblas' has no attribute 'dgemm'
cause The package only provides include paths and library config, not BLAS function wrappers.
fix
Use numpy.dot or scipy.linalg.blas.dgemm for direct BLAS calls.
gotcha This package does not provide Python-level BLAS functions. It only installs the shared library and headers. Use numpy or scipy to call BLAS.
fix Import numpy or scipy.linalg for BLAS operations.
deprecated pythran-openblas is a thin wrapper around OpenBLAS. The library version may lag behind official OpenBLAS releases.
fix Check for updates or use system OpenBLAS if needed.

Check the OpenBLAS include path.

import pythran_openblas
print(pythran_openblas.get_include())