[SciPy-user] Trouble with f2py
Fri Oct 10 01:29:40 CDT 2008
On Fri, Oct 10, 2008 at 01:25, Nils Wagner <firstname.lastname@example.org> wrote:
> Hi all,
> If I run f2py I get
> Traceback (most recent call last):
> File "/data/home/nwagner/local/bin/f2py", line 20, in ?
> from numpy.f2py import main
> line 125, in ?
> import add_newdocs
> line 9, in ?
> from lib import add_newdoc
> line 4, in ?
> from type_check import *
> line 8, in ?
> import numpy.core.numeric as _nx
> line 5, in ?
> import multiarray
> undefined symbol: PyUnicodeUCS2_FromUnicode
> How can I resolve this problem ?
It looks like you installed a numpy binary built with a Python built
with UCS2 Unicode support while your Python binary was built with UCS4
Unicode support. Where did you get your Python? Where did you get your
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the SciPy-user