Ask Your Question

Revision history [back]

PackageNotFoundError: cblas not found

I get the following error message:

File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/repl/load.py", line 276, in load exec(load_cython(fpath), globals) File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/repl/load.py", line 67, in load_cython mod, dir = cython(name, compile_message=True, use_cache=True) File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/misc/cython.py", line 331, in cython aliases=cython_aliases(), File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/env.py", line 406, in cython_aliases aliases[var + "CFLAGS"] = pkgconfig.cflags(lib).split() File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/pkgconfig/pkgconfig.py", line 144, in cflags _raise_if_not_exists(package) File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/pkgconfig/pkgconfig.py", line 103, in _raise_if_not_exists raise PackageNotFoundError(package) pkgconfig.pkgconfig.PackageNotFoundError: cblas not found

How to handle it?

PackageNotFoundError: cblas not found

I get the following error message:

File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/repl/load.py", line 276, in load exec(load_cython(fpath), globals) File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/repl/load.py", line 67, in load_cython mod, dir = cython(name, compile_message=True, use_cache=True) File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/misc/cython.py", line 331, in cython aliases=cython_aliases(), File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/env.py", line 406, in cython_aliases aliases[var + "CFLAGS"] = pkgconfig.cflags(lib).split() File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/pkgconfig/pkgconfig.py", line 144, in cflags _raise_if_not_exists(package) File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/pkgconfig/pkgconfig.py", line 103, in _raise_if_not_exists raise PackageNotFoundError(package) pkgconfig.pkgconfig.PackageNotFoundError: cblas not found

How to handle it?it? I tried to install it with anaconda and pip, but both haven't found the package.

PackageNotFoundError: cblas not found

I get the following error message:

File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/repl/load.py", "/Users/*****/opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/repl/load.py", line 276, in load
    exec(load_cython(fpath), globals)
 File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/repl/load.py", "/Users/*****/opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/repl/load.py", line 67, in load_cython
    mod, dir = cython(name, compile_message=True, use_cache=True)
 File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/misc/cython.py", "/Users/*****/opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/misc/cython.py", line 331, in cython
    aliases=cython_aliases(),
 File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/env.py", "/Users/*****/opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/env.py", line 406, in cython_aliases
    aliases[var + "CFLAGS"] = pkgconfig.cflags(lib).split()
 File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/pkgconfig/pkgconfig.py", "/Users/*****/opt/anaconda3/envs/sage/lib/python3.8/site-packages/pkgconfig/pkgconfig.py", line 144, in cflags
    _raise_if_not_exists(package)
 File "/Users//opt/anaconda3/envs/sage/lib/python3.8/site-packages/pkgconfig/pkgconfig.py", "/Users/*****/opt/anaconda3/envs/sage/lib/python3.8/site-packages/pkgconfig/pkgconfig.py", line 103, in _raise_if_not_exists
    raise PackageNotFoundError(package)
pkgconfig.pkgconfig.PackageNotFoundError: cblas not found

found

How to handle it? I tried to install it with anaconda and pip, but both haven't found the package.

PackageNotFoundError: cblas not found

On a computer with operating system macOS 12.0 beta, I get installed Sage 9.2 from conda-forge.

The installation succeeded, and Sage starts properly.

Running a .sage file that includes the command

sage.repl.load.load("program.pyx", globals())

gives the following error message:

File "/Users/*****/opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/repl/load.py", line 276, in load
    exec(load_cython(fpath), globals)
File "/Users/*****/opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/repl/load.py", line 67, in load_cython
    mod, dir = cython(name, compile_message=True, use_cache=True)
File "/Users/*****/opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/misc/cython.py", line 331, in cython
    aliases=cython_aliases(),
File "/Users/*****/opt/anaconda3/envs/sage/lib/python3.8/site-packages/sage/env.py", line 406, in cython_aliases
    aliases[var + "CFLAGS"] = pkgconfig.cflags(lib).split()
File "/Users/*****/opt/anaconda3/envs/sage/lib/python3.8/site-packages/pkgconfig/pkgconfig.py", line 144, in cflags
    _raise_if_not_exists(package)
File "/Users/*****/opt/anaconda3/envs/sage/lib/python3.8/site-packages/pkgconfig/pkgconfig.py", line 103, in _raise_if_not_exists
    raise PackageNotFoundError(package)
pkgconfig.pkgconfig.PackageNotFoundError: cblas not found

How to handle it? I tried to install it with anaconda and pip, but both haven't found the package.