Skip to content

[Bug Report] Numpy no longer supports numpy.core #2162

@dduro2020

Description

@dduro2020

High Level Description

I have been having problems launching the sanity test after following the installation instructions:

E   ImportError: numpy.core.multiarray failed to import

After reinstalling the libraries several times, removing the virtual environment and starting over, I did some testing when I found this:

python
Python 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> from numpy.core import multiarray
<stdin>:1: DeprecationWarning: numpy.core is deprecated and has been renamed to numpy._core. The numpy._core namespace contains private NumPy internals and its use is discouraged, as NumPy internals can change without warning in any release. In practice, most real-world usage of numpy.core is to access functionality in the public NumPy API. If that is the case, use the public NumPy API. If not, you are using NumPy internals. If you would still like to access an internal attribute, use numpy._core.multiarray.

Version

Latest

Steps to reproduce the bug

Just follow the installation steps with python 3.10 instead of 3.8

System info

Ubuntu 22.04.4 LTS
Python 3.10.12
Numpy
2024/09/10

Error logs and screenshots

No response

Impact (If known)

Cannot use SMARTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions