What does: $> python -c"import numpy; print numpy.__file__"
tells you? Johan On Wednesday January 5 2011 12:43:15 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: > Hi Johan, > > I really appreciate your kind favors. Now cmake is working fine but I > get an issue with the numpy when I make install: > > CMake Error: Parse error in cache file > /Work/Codes/FEniCS/dolfin-0.9.9/CMakeCache.txt. Offending entry: File > "<string>", line 1, in <module> CMake Error: Parse error in cache file > /Work/Codes/FEniCS/dolfin-0.9.9/CMakeCache.txt. Offending entry: File > "/root/Work/FEniCS/lib/python2.6/site-packages/numpy/__init__.py", line > 132, in <module> CMake Error: Parse error in cache > file/Work/Codes/FEniCS/dolfin-0.9.9/CMakeCache.txt. Offending entry: > import add_newdocs CMake Error: Parse error in cache file > /Work/Codes/FEniCS/dolfin-0.9.9/CMakeCache.txt. Offending entry: File > "/root/Work/FEniCS/lib/python2.6/site-packages/numpy/add_newdocs.py", line > 9, in <module> CMake Error: Parse error in cache file > /Work/Codes/FEniCS/dolfin-0.9.9/CMakeCache.txt. Offending entry: from lib > import add_newdoc CMake Error: Parse error in cache file > /Work/Codes/FEniCS/dolfin-0.9.9/CMakeCache.txt. Offending entry: File > "/root/Work/FEniCS/lib/python2.6/site-packages/numpy/lib/__init__.py", > line 4, in <module> CMake Error: Parse error in cache file > /Work/Codes/FEniCS/dolfin-0.9.9/CMakeCache.txt. Offending entry: from > type_check import * CMake Error: Parse error in cache file > /Work/Codes/FEniCS/dolfin-0.9.9/CMakeCache.txt. Offending entry: File > "/root/Work/FEniCS/lib/python2.6/site-packages/numpy/lib/type_check.py", > line 8, in <module> CMake Error: Parse error in cache file > /Work/Codes/FEniCS/dolfin-0.9.9/CMakeCache.txt. Offending entry: import > numpy.core.numeric as _nx CMake Error: Parse error in cache file > /Work/Codes/FEniCS/dolfin-0.9.9/CMakeCache.txt. Offending entry: File > "/root/Work/FEniCS/lib/python2.6/site-packages/numpy/core/__init__.py", > line 5, in <module> CMake Error: Parse error in cache file > /home/adoostan/Work/Codes/FEniCS/dolfin-0.9.9/CMakeCache.txt. Offending > entry: import multiarray CMake Error: Parse error in cache file > /Work/Codes/FEniCS/dolfin-0.9.9/CMakeCache.txt. Offending entry: > ImportError: > /root/Work/FEniCS/lib/python2.6/site-packages/numpy/core/multiarray.so: > undefined symbol: PyUnicodeUCS2_FromUnicode > > Is there some problem with the python installation? > > S _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

