Package: python3
Version: 3.7.3-1
Severity: important
Tags: upstream

Dear Maintainer,

When trying to import scipy.misc in python3 [numpy scipy are both installed and
were fonctionning correctly some weeks ago]


I got the error below which accordingly to the debian user mailing list seems
to be a bug. I insist that python3-numpy is installed.

Best regards,


:>  from scipy.misc import *

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-e348caf869d0> in <module>()
      4 from numpy import *
      5 from numpy.random import *
----> 6 from scipy.misc import *
      7 from scipy.stats import *

/usr/lib/python3/dist-packages/scipy/misc/__init__.py in <module>()
     66 from numpy import who as _who, source as _source, info as _info
     67 import numpy as np
---> 68 from scipy.interpolate._pade import pade as _pade
     69 from scipy.special import (comb as _comb, logsumexp as _lsm,
     70         factorial as _fact, factorial2 as _fact2, factorialk as _factk)

/usr/lib/python3/dist-packages/scipy/interpolate/__init__.py in <module>()
    173 from __future__ import division, print_function, absolute_import
    174
--> 175 from .interpolate import *
    176 from .fitpack import *
    177

/usr/lib/python3/dist-packages/scipy/interpolate/interpolate.py in <module>()
     18                    dot, ravel, poly1d, asarray, intp)
     19
---> 20 import scipy.linalg
     21 import scipy.special as spec
     22 from scipy.special import comb

/usr/lib/python3/dist-packages/scipy/linalg/__init__.py in <module>()
    188 from .linalg_version import linalg_version as __version__
    189
--> 190 from .misc import *
    191 from .basic import *
    192 from .decomp import *

/usr/lib/python3/dist-packages/scipy/linalg/misc.py in <module>()
      3 import numpy as np
      4 from numpy.linalg import LinAlgError
----> 5 from .blas import get_blas_funcs
      6 from .lapack import get_lapack_funcs
      7

/usr/lib/python3/dist-packages/scipy/linalg/blas.py in <module>()
    212 import numpy as _np
    213
--> 214 from scipy.linalg import _fblas
    215 try:
    216     from scipy.linalg import _cblas

ImportError: numpy.core.multiarray failed to import




-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3 depends on:
ii  libpython3-stdlib  3.7.3-1
ii  python3-minimal    3.7.3-1
ii  python3.7          3.7.3-2

python3 recommends no packages.

Versions of packages python3 suggests:
pn  python3-doc   <none>
ii  python3-tk    3.7.3-1
pn  python3-venv  <none>

-- no debconf information

Reply via email to