Re: ImportError: No module named multiarray (is back)

2011-11-23 Thread Éric Araujo
Hi, Le 22/11/2011 20:59, Zbigniew Jędrzejewski-Szmek a écrit : > On 11/22/2011 04:38 PM, Mathieu Malaterre wrote: >> [CC me please] >> [...] > This is a very unfortunate interaction between Python semantics (prepend > realpath of script to sys.path) and the Debian way of installing modules > (sy

Re: ImportError: No module named multiarray (is back)

2011-11-23 Thread Mathieu Malaterre
[CC me please] hi all, 2011/11/22 Zbigniew Jędrzejewski-Szmek : [...] > Hi Mathieu, > > I don't think that your problem can be solved in any simple way, apart from > physically moving the script or providing a second helper script. > > This is a very unfortunate interaction between Python semanti

Re: ImportError: No module named multiarray (is back)

2011-11-22 Thread Jakub Wilk
* Mathieu Malaterre , 2011-11-22, 16:38: $ python /usr/lib/python2.7/dist-packages/CellProfiler.py Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/CellProfiler.py", line 17, in import numpy as np File "/usr/share/pyshared/numpy/__init__.py", line 136, in import

Re: ImportError: No module named multiarray (is back)

2011-11-22 Thread Zbigniew Jędrzejewski-Szmek
On 11/22/2011 04:38 PM, Mathieu Malaterre wrote: [CC me please] Hi all, The issue with multiarray came back. I manage to get things working for the tifffile package installing the tifffile.py into /usr/bin/tiffile (removing the py extension). However another package is now failing: CellProfi

Re: ImportError: No module named multiarray

2011-11-16 Thread Jakub Wilk
* Mathieu Malaterre , 2011-11-16, 10:03: I thought I did it right, but I cannot load the python module properly when installed, it fails with: $ python /usr/share/pyshared/tifffile.py Traceback (most recent call last): File "/usr/share/pyshared/tifffile.py", line 117, in import numpy File

Re: ImportError: No module named multiarray

2011-11-16 Thread Zbigniew Jędrzejewski-Szmek
On 11/16/2011 11:06 AM, Mathieu Malaterre wrote: 2011/11/16 Zbigniew Jędrzejewski-Szmek: On 11/16/2011 10:03 AM, Mathieu Malaterre wrote: [CC me please] Hi all, I am trying to package a tiny python module: http://mentors.debian.net/debian/pool/main/t/tifffile/tifffile_2012-1.dsc

Re: ImportError: No module named multiarray

2011-11-16 Thread Mathieu Malaterre
2011/11/16 Zbigniew Jędrzejewski-Szmek : > On 11/16/2011 10:03 AM, Mathieu Malaterre wrote: >> >> [CC me please] >> >> Hi all, >> >>   I am trying to package a tiny python module: >> >> >> http://mentors.debian.net/debian/pool/main/t/tifffile/tifffile_2012-1.dsc >> >>   I thought I did it right

Re: ImportError: No module named multiarray

2011-11-16 Thread Zbigniew Jędrzejewski-Szmek
On 11/16/2011 10:03 AM, Mathieu Malaterre wrote: [CC me please] Hi all, I am trying to package a tiny python module: http://mentors.debian.net/debian/pool/main/t/tifffile/tifffile_2012-1.dsc I thought I did it right, but I cannot load the python module properly when installed, it fa