Cannot import name 'solve_triangular' from 'pytensor.tensor.linalg'

So even when i import it in the terminal, it throws same attribute error as below:in default_blas_ldflags
blas_info = np.config.get_info(“blas_opt”)
AttributeError: module ‘numpy.config’ has no attribute ‘get_info’