[Python-modules-team] Bug#703585: [pyopengl] run-time warning: "No Numeric module present: No module named Numeric"

Guillermo Reisch guillere at adinet.com.uy
Sat Jan 11 06:09:21 UTC 2014


Package: python-opengl
Version: 3.0.1-1
Followup-For: Bug #703585

This error can be "fixed" (ugly... but seen to work :-P )

PATCH:
/usr/lib/python2.7/dist-packages/OpenGL/arrays/numeric.py

 diff -Naur numeric.old.py numeric.py
--- numeric.old.py      2014-01-11 03:47:29.563302794 -0200
+++ numeric.py  2014-01-11 03:48:54.402776625 -0200
@@ -10,7 +10,7 @@
 """
 REGISTRY_NAME = 'numeric'
 try:
-    import Numeric
+    import numpy.numarray as Numeric
 except ImportError, err:
     raise ImportError( """No Numeric module present: %s"""%(err))
 import operator

Version 3.0.2 of python-opengl is in SVN sow lets look if already a
better fixed code, and/or inform upstream :-)
Sori my bad ingles

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.12-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=es_UY.UTF-8, LC_CTYPE=es_UY.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-opengl depends on:
ii  freeglut3                 2.8.1-1
ii  libgl1-mesa-glx [libgl1]  10.0.1-1
ii  libglu1-mesa [libglu1]    9.0.0-2
ii  python                    2.7.5-5
ii  python2.6                 2.6.8-1.1
ii  python2.7                 2.7.6-4

python-opengl recommends no packages.

Versions of packages python-opengl suggests:
ii  libgle3       3.1.0-7
ii  python-numpy  1:1.8.0-1
ii  python-tk     2.7.5-1

-- no debconf information



More information about the Python-modules-team mailing list