[Python-modules-team] Bug#705186: Bug#705186: importing numpy triggers RuntimeWarning

Frank Loeffler knarf at cct.lsu.edu
Sat Apr 13 19:55:45 UTC 2013


On Sat, Apr 13, 2013 at 09:48:55PM +0200, Sandro Tosi wrote:
> On Sat, Apr 13, 2013 at 9:41 PM, Frank Loeffler <knarf at cct.lsu.edu> wrote:
> > Did you have both
> > python-minimal packages installed?
> Yes I have, both in the chroot and in my machine (which I use for
> developing) and I can't replicate on any of them.

Interesting. I installed python2.6-minimal again. Noting a warning (not
sure if related, so I post it here):

Setting up python2.6 (2.6.8-1.1) ...
Processing triggers for python-support ...
/usr/lib/pymodules/python2.6/scitools/pyreport/main.py:268: SyntaxWarning: import * only allowed at module level
  def __call__(self, name, globals=None, locals=None, fromlist=None,
/usr/lib/pymodules/python2.6/scitools/pyreport/main.py:285: SyntaxWarning: import * only allowed at module level
  def __call__(self, name, globals=None, locals=None,

After this I get again:

$ python
Python 2.7.3 (default, Jan  2 2013, 13:56:14) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
/usr/lib/pymodules/python2.6/numpy/random/__init__.py:87: RuntimeWarning: compiletime version 2.6 of module 'mtrand' does not match runtime version 2.7
  from mtrand import *

Deinstalling python2.6-minimal makes this go away again.

I attach a list of packages I have installed. What else could I do to help you reproducing this?

thanks, Frank

-------------- next part --------------
A non-text attachment was scrubbed...
Name: package_list.gz
Type: application/octet-stream
Size: 11831 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20130413/50880636/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20130413/50880636/attachment-0001.pgp>


More information about the Python-modules-team mailing list