[Bug 1887747] Re: Getting following error "Original error was: No module named 'numpy.core._multiarray_umath'" while running selenium with python UI test cases on Ubuntu 18.4

Daniel Manrique 1887747 at bugs.launchpad.net
Thu Jul 16 13:10:00 UTC 2020


** Project changed: canonical-identity-provider => python-numpy (Ubuntu)

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

Title:
  Getting following error "Original error was: No module named
  'numpy.core._multiarray_umath'" while running selenium with python UI
  test cases on Ubuntu 18.4

Status in python-numpy package in Ubuntu:
  New

Bug description:
  Though Numpy having the latest version with Python 3.8 and 3.6, in
  both facing the same issue:

  Requirement already up-to-date: numpy in /usr/local/lib/python3.6/dist-packages (1.19.0)
  root at ibasedemo:/opt/SRC/iBASE-AUTOMATION/IBase# python -m test.testcases.test_runner_UI
  PYTHONPATH: :/home/dev/python-files
  PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
  Traceback (most recent call last):
    File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
      return _run_code(code, main_globals, None,
    File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
      exec(code, run_globals)
    File "/opt/SRC/iBASE-AUTOMATION/IBase/test/testcases/test_runner_UI.py", line 14, in <module>
      from test.testcases.UI_IBase_E2E_Scenarios import UI_IBase_E2E_Scenarios
    File "/opt/SRC/iBASE-AUTOMATION/IBase/test/testcases/UI_IBase_E2E_Scenarios.py", line 10, in <module>
      from main.Utils.DataProviderTestData import DataProviderTestData
    File "/opt/SRC/iBASE-AUTOMATION/IBase/main/Utils/DataProviderTestData.py", line 18, in <module>
      from api.noompy import NoomPy
    File "/usr/local/lib/python3.8/dist-packages/api/noompy.py", line 1, in <module>
      from api.core import execute_query
    File "/usr/local/lib/python3.8/dist-packages/api/core.py", line 2, in <module>
      import pandas as pd
    File "/usr/local/lib/python3.8/dist-packages/pandas/__init__.py", line 16, in <module>
      raise ImportError(
  ImportError: Unable to import required dependencies:
  numpy:

  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.8 from "/usr/bin/python"
    * The NumPy version is: "1.19.0"

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

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


  Please help me I have tried with multiple Ubuntu commands to fix the
  issue but still not succeed.

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



More information about the foundations-bugs mailing list