[SciPy-dev] sandbox xplt

Nils Wagner nwagner at iam.uni-stuttgart.de
Thu Sep 21 05:30:30 EDT 2006


pearu at cens.ioc.ee wrote:
> On Thu, 21 Sep 2006, Nils Wagner wrote:
>
>   
>> pearu at cens.ioc.ee wrote:
>>     
>>> On Thu, 21 Sep 2006, Nils Wagner wrote:
>>>
>>>   
>>>       
>>>>> You need to add /usr/X11R6/lib64 directory to default_x11_lib_dirs list in
>>>>> system_info.py, and also update default_x11_include_dirs accordingly.
>>>>>
>>>>> HTH,
>>>>> Pearu
>>>>>   
>>>>>       
>>>>>           
>>>> This is the X11 part of my modified system_info.py
>>>>
>>>> [x11]
>>>> library_dirs = /usr/X11R6/lib:/usr/X11R6/lib64
>>>> include_dirs = /usr/X11R6/include
>>>>     
>>>>         
>>> This is example in the header of system_info.py, it has no effect.
>>> Please modify the lists starting at line #146.
>>>
>>> Pearu
>>>
>>> _______________________________________________
>>> Scipy-dev mailing list
>>> Scipy-dev at scipy.org
>>> http://projects.scipy.org/mailman/listinfo/scipy-dev
>>>   
>>>       
>> OK - but is the order important ? I mean
>>
>> default_x11_lib_dirs =
>> ['/usr/X11R6/lib','/usr/X11/lib','/usr/lib','/usr/X11R6/lib64']
>>
>> default_x11_lib_dirs =
>> ['/usr/X11R6/lib64','/usr/X11R6/lib','/usr/X11/lib','/usr/lib']
>>     
>
> The order is only important if /usr/X11R6/lib contains libX11.a file.
> In general, if you know where the desired library is then put its
> location first in the list. So, I would use the second version.
>
> Pearu
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>   

Thank you very much - now the installation works fine but if I try to
import xplt I get

>>> from scipy.sandbox import xplt
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File
"/usr/lib64/python2.4/site-packages/scipy/sandbox/xplt/__init__.py",
line 48, in ?
    from Mplot import *
  File "/usr/lib64/python2.4/site-packages/scipy/sandbox/xplt/Mplot.py",
line 13, in ?
    import numpy.lib.mlab as MLab
ImportError: No module named mlab

Should I file a ticket ?

Nils




More information about the SciPy-Dev mailing list