Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#54937 - [python2-numpy] Importing the multiarray numpy extension module failed.

Attached to Project: Arch Linux
Opened by michael (chakravala) - Wednesday, 26 July 2017, 23:52 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 27 July 2017, 00:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The issue arises using the latest available "python2-numpy" package when I try to load the "PyPlot" package in "julia". However, when I downgrade to python2-numpy-1.13.0-1-x86_64, the issue is resolved.

According to the error message, :
ImportError("\nImporting the multiarray numpy extension module failed. Most\nlikely you are trying to import a failed build of numpy.\nIf you're working with a numpy git repo, try `git clean -xdf` (removes all\nfiles not under version control). Otherwise reinstall numpy.\n\nOriginal error was: libcblas.so.3: cannot open shared object file: No such file or directory\n",)

MORE:
This is the full error message from julia when it tries to load matplotlib and numpy:

julia> using PyPlot
ERROR: InitError: Failed to import required Python module matplotlib.

For automated matplotlib installation, try configuring PyCall to use the Conda.jl package's Python "Miniconda" distribution within Julia. Relaunch Julia and run:
ENV["PYTHON"]=""
Pkg.build("PyCall")
before trying again.

The pyimport exception was: PyError (ccall(@pysym(:PyImport_ImportModule), PyPtr, (Cstring,), name)) <type 'exceptions.ImportError'>
ImportError("\nImporting the multiarray numpy extension module failed. Most\nlikely you are trying to import a failed build of numpy.\nIf you're working with a numpy git repo, try `git clean -xdf` (removes all\nfiles not under version control). Otherwise reinstall numpy.\n\nOriginal error was: libcblas.so.3: cannot open shared object file: No such file or directory\n",)
File "/usr/lib/python2.7/site-packages/matplotlib/__init__.py", line 122, in <module>
from matplotlib.cbook import is_string_like, mplDeprecation, dedent, get_label
File "/usr/lib/python2.7/site-packages/matplotlib/cbook.py", line 32, in <module>
import numpy as np
File "/usr/lib/python2.7/site-packages/numpy/__init__.py", line 142, in <module>
from . import add_newdocs
File "/usr/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "/usr/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8, in <module>
from .type_check import *
File "/usr/lib/python2.7/site-packages/numpy/lib/type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "/usr/lib/python2.7/site-packages/numpy/core/__init__.py", line 26, in <module>
raise ImportError(msg)


Perhaps, the numpy package was not compiled correctly?
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 27 July 2017, 00:10 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Caused by unsupported packages

Loading...