Hi,
I tried to build matplotlib in place (setup.py build_ext -i), and
found out that I could not import it:
matplotlib/rcsetup.py:117: UserWarning: rcParams key "numerix" is
obsolete and has no effect;
please delete it from your matplotlibrc file
warnings.warn('rcParams key "numerix" is obsolete and has no effect;\n'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pylab.py", line 1, in <module>
from matplotlib.pylab import *
File "matplotlib/pylab.py", line 206, in <module>
from matplotlib import mpl # pulls in most modules
File "matplotlib/mpl.py", line 2, in <module>
from matplotlib import axis
File "matplotlib/axis.py", line 10, in <module>
import matplotlib.font_manager as font_manager
File "matplotlib/font_manager.py", line 52, in <module>
from matplotlib import ft2font
ImportError: matplotlib/ft2font.so: undefined symbol: py_object_initializer
Is this expected ?
cheers,
David
Hi David,
Hi,
I tried to build matplotlib in place (setup.py build_ext -i), and
found out that I could not import it:
yes, you should be able to build it in-place (even if usually run
'python setup.py build' because I need the full package be available
in build/<platform> ) even from the unpacked tarball or from svn
trunk.
matplotlib/rcsetup.py:117: UserWarning: rcParams key "numerix" is
obsolete and has no effect;
please delete it from your matplotlibrc file
warnings.warn('rcParams key "numerix" is obsolete and has no effect;\n'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pylab.py", line 1, in <module>
from matplotlib.pylab import *
File "matplotlib/pylab.py", line 206, in <module>
from matplotlib import mpl # pulls in most modules
File "matplotlib/mpl.py", line 2, in <module>
from matplotlib import axis
File "matplotlib/axis.py", line 10, in <module>
import matplotlib.font_manager as font_manager
File "matplotlib/font_manager.py", line 52, in <module>
from matplotlib import ft2font
ImportError: matplotlib/ft2font.so: undefined symbol: py_object_initializer
what version are you using? 0.99.1.1, svn trunk, other?
Regards,
···
On Wed, Sep 30, 2009 at 07:48, David Cournapeau <david@...1387...> wrote:
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
Hi Sandro,
(sorry for the private reply)
Sandro Tosi wrote:
Hi David,
Hi,
I tried to build matplotlib in place (setup.py build_ext -i), and
found out that I could not import it:
yes, you should be able to build it in-place (even if usually run
'python setup.py build' because I need the full package be available
in build/<platform> ) even from the unpacked tarball or from svn
trunk.
matplotlib/rcsetup.py:117: UserWarning: rcParams key "numerix" is
obsolete and has no effect;
please delete it from your matplotlibrc file
warnings.warn('rcParams key "numerix" is obsolete and has no effect;\n'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pylab.py", line 1, in <module>
from matplotlib.pylab import *
File "matplotlib/pylab.py", line 206, in <module>
from matplotlib import mpl # pulls in most modules
File "matplotlib/mpl.py", line 2, in <module>
from matplotlib import axis
File "matplotlib/axis.py", line 10, in <module>
import matplotlib.font_manager as font_manager
File "matplotlib/font_manager.py", line 52, in <module>
from matplotlib import ft2font
ImportError: matplotlib/ft2font.so: undefined symbol: py_object_initializer
what version are you using? 0.99.1.1, svn trunk, other?
It ended up a confusion between the distutils build and the new scons
scripts I was working on, sorry for the noise.
The good news is that matplotlib can now be built with numscons, with
all scons goodies
David
···
On Wed, Sep 30, 2009 at 07:48, David Cournapeau > <david@...1387...> wrote:
David Cournapeau wrote:
It ended up a confusion between the distutils build and the new scons
scripts I was working on, sorry for the noise.
The good news is that matplotlib can now be built with numscons, with
all scons goodies
Please share! What steps are required to do this? I wonder if would get around this long-standing problem with distutils not selecting a C++ compiler that prevents us from using the Solaris compilers:
http://bugs.python.org/issue1222585
Mike
···
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
Michael Droettboom wrote:
David Cournapeau wrote:
It ended up a confusion between the distutils build and the new scons
scripts I was working on, sorry for the noise.
The good news is that matplotlib can now be built with numscons, with
all scons goodies
Please share!
That's my intention, but github downtimes and anal firewall rules at my
university makes this challenging at the moment, unfortunately
David