[Bug 1866968] Re: missing numpy.core._multiarray_umath

Knut J Bjuland knut.j.bjuland at ntnu.no
Wed Mar 11 09:29:20 UTC 2020


Resolved by switching to python3.8 worksforme.

** Changed in: numpy (Ubuntu)
       Status: New => Invalid

** Changed in: numpy (Ubuntu)
       Status: Invalid => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to numpy in Ubuntu.
https://bugs.launchpad.net/bugs/1866968

Title:
  missing numpy.core._multiarray_umath

Status in numpy package in Ubuntu:
  Fix Released

Bug description:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 17, in <module>
      from . import multiarray
    File "/usr/lib/python3/dist-packages/numpy/core/multiarray.py", line 14, in <module>
      from . import overrides
    File "/usr/lib/python3/dist-packages/numpy/core/overrides.py", line 7, in <module>
      from numpy.core._multiarray_umath import (
  ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/home/knutjb/eclipse-workspace/rnn/src/eigth.py", line 2, in <module>
      import numpy
    File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 142, in <module>
      from . import core
    File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 47, in <module>
      raise ImportError(msg)
  ImportError: 

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

  Importing the numpy c-extensions failed.
  - Try uninstalling and reinstalling numpy.
  - If you have already done that, then:
    1. Check that you expected to use Python3.7 from "/usr/bin/python3.7",
       and that you have no directories in your PATH or PYTHONPATH that can
       interfere with the Python and numpy version "1.17.4" you're trying to use.
    2. If (1) looks fine, you can open a new issue at
       https://github.com/numpy/numpy/issues.  Please include details on:
       - how you installed Python
       - how you installed numpy
       - your operating system
       - whether or not you have multiple versions of Python installed
       - if you built from source, your compiler versions and ideally a build log

  - If you're working with a numpy git repository, try `git clean -xdf`
    (removes all files not under version control) and rebuild numpy.

  Note: this error has many possible causes, so please don't comment on
  an existing issue about this - open a new one instead.

  Original error was: No module named 'numpy.core._multiarray_umath'

  Error in sys.excepthook:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
      from apport.fileutils import likely_packaged, get_recent_crashes
    File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
      from apport.report import Report
    File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
      import apport.fileutils
    File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
      from apport.packaging_impl import impl as packaging
    File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>
      import apt
    File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
      import apt_pkg
  ModuleNotFoundError: No module named 'apt_pkg'

  Original exception was:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 17, in <module>
      from . import multiarray
    File "/usr/lib/python3/dist-packages/numpy/core/multiarray.py", line 14, in <module>
      from . import overrides
    File "/usr/lib/python3/dist-packages/numpy/core/overrides.py", line 7, in <module>
      from numpy.core._multiarray_umath import (
  ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/home/knutjb/eclipse-workspace/rnn/src/eigth.py", line 2, in <module>
      import numpy
    File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 142, in <module>
      from . import core
    File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 47, in <module>
      raise ImportError(msg)
  ImportError: 

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

  Importing the numpy c-extensions failed.
  - Try uninstalling and reinstalling numpy.
  - If you have already done that, then:
    1. Check that you expected to use Python3.7 from "/usr/bin/python3.7",
       and that you have no directories in your PATH or PYTHONPATH that can
       interfere with the Python and numpy version "1.17.4" you're trying to use.
    2. If (1) looks fine, you can open a new issue at
       https://github.com/numpy/numpy/issues.  Please include details on:
       - how you installed Python
       - how you installed numpy
       - your operating system
       - whether or not you have multiple versions of Python installed
       - if you built from source, your compiler versions and ideally a build log

  - If you're working with a numpy git repository, try `git clean -xdf`
    (removes all files not under version control) and rebuild numpy.

  Note: this error has many possible causes, so please don't comment on
  an existing issue about this - open a new one instead.

  Original error was: No module named 'numpy.core._multiarray_umath'

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: python3-numpy 1:1.17.4-5ubuntu3
  ProcVersionSignature: Ubuntu 5.4.0-14.17-generic 5.4.18
  Uname: Linux 5.4.0-14-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu20
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Mar 11 10:23:13 2020
  InstallationDate: Installed on 2017-10-12 (880 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  SourcePackage: numpy
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/numpy/+bug/1866968/+subscriptions



More information about the foundations-bugs mailing list