[Paraview] pvpython & numpy

Aurélien Marsan aurelien.marsan at ecl2009.ec-lyon.fr
Mon Jun 7 08:08:37 EDT 2010


Good Morning,

At this time, when I want to use the numpy library with pvpython, I build
using the same version of python than pvpython.

Is there an easier way ? Especially : is it possible to build new libraries
directly with pvpython ?

When I try, I have this error :

> Running from numpy source directory.
> Traceback (most recent call last):
>   File "setup.py", line 187, in <module>
>     setup_package()
>   File "setup.py", line 155, in setup_package
>     from numpy.distutils.core import setup
>   File
> "/home/aurelien/Telechargements/numpy-1.4.1/numpy/distutils/core.py", line
> 25, in <module>
>     from numpy.distutils.command import config, config_compiler, \
>   File
> "/home/aurelien/Telechargements/numpy-1.4.1/numpy/distutils/command/build_ext.py",
> line 16, in <module>
>     from numpy.distutils.system_info import combine_paths
>   File
> "/home/aurelien/Telechargements/numpy-1.4.1/numpy/distutils/system_info.py",
> line 206, in <module>
>     so_ext = distutils.sysconfig.get_config_vars('SO')[0] or ''
>   File
> "/home/aurelien/Telechargements/ParaView-3.8.0-Linux-x86_64/lib/paraview-3.8/lib/python2.5/distutils/sysconfig.py",
> line 493, in get_config_vars
>     func()
>   File
> "/home/aurelien/Telechargements/ParaView-3.8.0-Linux-x86_64/lib/paraview-3.8/lib/python2.5/distutils/sysconfig.py",
> line 363, in _init_posix
>     raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: invalid Python installation:
> unable to open
> /home/aurelien/Telechargements/ParaView-3.8.0-Linux-x86_64/lib/paraview-3.8/include/python2.5/pyconfig.h
> (No such file or directory)
>


Thanks for help,

-- 
Aurélien MARSAN
Doctorant Cifre Turbomeca/LMFA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100607/9def7366/attachment.htm>


More information about the ParaView mailing list