Error while importing pygpu

Marc-Olivier Buob marcolivier.buob at orange.fr
Tue Jul 30 13:46:32 BST 2019


Subject: python-pygpu: Error while importing pygpu
Package: python-pygpu
Version: 0.7.6-3
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where
appropriate ***

   * What led up to the situation?

I installed python-pygpu and python2. I'm trying to import pygpu. I got
this error.

(mando at hyperion) (~) $ python2
Python 2.7.16+ (default, Jul  8 2019, 09:45:29)
[GCC 8.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygpu
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/pygpu/__init__.py", line 7, in
<module>
    from . import gpuarray, elemwise, reduction
  File "__init__.pxd", line 918, in init pygpu.gpuarray
ValueError: numpy.ufunc size changed, may indicate binary
incompatibility. Expected 216 from C header, got 192 from PyObject


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

It seems that this bug could be fixed with some versions of numpy.
I did not try because this version is not packaged under current Debian
releases.
https://github.com/scikit-learn-contrib/hdbscan/issues/272

Please also note that libgpuarray is already installed through the
dedicated package (see details below).
I verified that this issue is not related to pip/anaconda side-effects.


   * What was the outcome of this action?

I cannot import pygpu

   * What outcome did you expect instead?

I'd like to import pygpu in order to be able to import theano (package
python-theano).

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/32 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=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-pygpu depends on:
ii  libc6                             2.28-10
ii  libgpuarray3                      0.7.6-3
ii  python                            2.7.16-1
ii  python-mako                       1.0.7+ds1-1
ii  python-numpy [python-numpy-abi9]  1:1.16.2-1
ii  python-six                        1.12.0-1

python-pygpu recommends no packages.

Versions of packages python-pygpu suggests:
pn  libgpuarray-doc  <none>

-- no debconf information




More information about the debian-science-maintainers mailing list