Skip to content

VisIt 3.4.2 Ubuntu 24 Install Failed to import numpy #20189

@JustinPrivitera

Description

@JustinPrivitera

I installed using the 3.4.2 ubuntu 24 release tarball and the visit install script.

I see this when I run in CLI mode and attempt to import numpy:

$ /usr/local/visit/bin/visit -nowin -cli
Running: cli3.4.2 -nowin
Running: viewer3.4.2 -nowin -noint -host 127.0.0.1 -port 5600
>>> import numpy
Traceback (most recent call last):
  File "/usr/local/visit/3.4.2/linux-x86_64/lib/python/lib/python3.9/site-packages/numpy/core/__init__.py", line 23, in <module>
    from . import multiarray
  File "/usr/local/visit/3.4.2/linux-x86_64/lib/python/lib/python3.9/site-packages/numpy/core/multiarray.py", line 10, in <module>
    from . import overrides
  File "/usr/local/visit/3.4.2/linux-x86_64/lib/python/lib/python3.9/site-packages/numpy/core/overrides.py", line 8, in <module>
    from numpy.core._multiarray_umath import (
ImportError: libblas.so.3: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/visit/3.4.2/linux-x86_64/lib/python/lib/python3.9/site-packages/numpy/__init__.py", line 139, in <module>
    from . import core
  File "/usr/local/visit/3.4.2/linux-x86_64/lib/python/lib/python3.9/site-packages/numpy/core/__init__.py", line 49, in <module>
    raise ImportError(msg)
ImportError: 

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.9 from "/usr/bin/python3"
  * The NumPy version is: "1.25.1"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: libblas.so.3: cannot open shared object file: No such file or directory

>>>

Metadata

Metadata

Labels

bugSomething isn't workingimpact mediumProductivity partially degraded (not easily mitigated bug) or improved (enhancement)likelihood mediumNeither low nor high likelihoodreviewedIssue has been reviewed and labeled by a developer

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions