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
quot;, line 8, in import numpy.core.numeric as _nx File "/usr/share/pyshared/numpy/core/__init__.py", line 5, in import multiarray ImportError: No module named multiarray [...] It'd tad easier for us to help you if you explained what you were trying to do. But how d

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

2011-11-22 Thread Zbigniew Jędrzejewski-Szmek
, line 8, in import numpy.core.numeric as _nx File "/usr/share/pyshared/numpy/core/__init__.py", line 5, in import multiarray ImportError: No module named multiarray Hi Mathieu, I don't think that your problem can be solved in any simple way, apart from physically moving

ImportError: No module named multiarray (is back)

2011-11-22 Thread Mathieu Malaterre
uot;/usr/share/pyshared/numpy/core/__init__.py", line 5, in import multiarray ImportError: No module named multiarray Now if I do: $ cp /usr/lib/python2.7/dist-packages/CellProfiler.py /tmp $ python /tmp/CellProfiler.py Traceback (most recent call last): File "/tmp/CellProfil

Re: ImportError: No module named multiarray

2011-11-16 Thread Jakub Wilk
t * File "/usr/share/pyshared/numpy/lib/type_check.py", line 8, in import numpy.core.numeric as _nx File "/usr/share/pyshared/numpy/core/__init__.py", line 5, in import multiarray ImportError: No module named multiarray Short story: "Doctor, it hurts when I

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
it__.py", line 5, in import multiarray ImportError: No module named multiarray However doing the following works nicely: $ cd /tmp $ cp /usr/share/pyshared/tifffile.py . $ python tifffile.py --version tifffile.py 2011.11.12 Thanks for suggestion, -- To UNSUBSCRIBE, email

ImportError: No module named multiarray

2011-11-16 Thread Mathieu Malaterre
import add_newdoc File "/usr/share/pyshared/numpy/lib/__init__.py", line 4, in from type_check import * File "/usr/share/pyshared/numpy/lib/type_check.py", line 8, in import numpy.core.numeric as _nx File "/usr/share/pyshared/numpy/core/__init__.py", li