← Back to team overview

dolfin team mailing list archive

Re: [Question #140285]: dolfin installation

 

Are you using the installed Python or your own?

Following:

  <http://www.mail-archive.com/numpy-discussion@xxxxxxxxx/msg16872.html>

it looks like RedHat compiles Python using some un standard compileflags which 
are incompatible with numpy. If you have compiled you own Python make sure 
that NumPy is compiled against this version.

Johan

On Wednesday January 5 2011 13:15:37 S Wood wrote:
> Question #140285 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/140285
> 
>     Status: Answered => Open
> 
> S Wood is still having a problem:
> It gives:
> 
>   File "<string>", line 1, in <module>
>   File "/root/Work/FEniCS/lib/python2.6/site-packages/numpy/__init__.py",
> line 132, in <module> import add_newdocs
>   File
> "/root/Work/FEniCS/lib/python2.6/site-packages/numpy/add_newdocs.py", line
> 9, in <module> from lib import add_newdoc
>   File
> "/root/Work/FEniCS/lib/python2.6/site-packages/numpy/lib/__init__.py",
> line 4, in <module> from type_check import *
>   File
> "/root/Work/FEniCS/lib/python2.6/site-packages/numpy/lib/type_check.py",
> line 8, in <module> import numpy.core.numeric as _nx
>   File
> "/root/Work/FEniCS/lib/python2.6/site-packages/numpy/core/__init__.py",
> line 5, in <module> import multiarray
> ImportError:
> /root/Work/FEniCS/lib/python2.6/site-packages/numpy/core/multiarray.so:
> undefined symbol: PyUnicodeUCS2_FromUnicode



Follow ups

References