Thread Previous • Date Previous • Date Next • Thread Next |
What does, pkg-config --modversion python-2 tell you? This should be the version your PyDOLFIN installation is compiled against. It looks like your installation at least resides in python2.5, these versions needs to be the same.pkg-config --modversion python-2 gives me 2.4.4, in dolfin0.8 it worked fine and i thought it was compiled against python2.5. on our university system, python2.5 is not the default, so i had to manually point everything towards python2.5 but this might be wrong therefore.It's probably wrong when your PyDOLFIN is compiled againes 2.4. Do not know why it suddenly breaks.what is the place the above command fetches the information on?It's probably the pkg-config file python-2.pc, which most probably is created during the installation process. See in:dolfin/scons/simula-scons/simula_scons/pkgconfiggenerators/python.pyUnfortunatly it is not possible (yet) to set the default python installation directory through the scons system. Should this be possible?For example: scons withPythonDir=/where/your/python/installations/is
that would be a nice feature :-)anyway, i got it to work with dolfin0.8, so i'll go over it again and hopefully it will work soon.
thanks a lot for your help, johan, regards, patrick Johan
patrickJohanpriesen@vierzack01:/<7>cpp>viper data.xml Traceback (most recent call last): File "/home/priesen/dolfin0.9/bin/viper", line 123, in <module> _main(args[-1], None) File "/home/priesen/dolfin0.9/bin/viper", line 77, in _main return _dolfin_mesh_plotter(infile, outfile, data=data, lutfile=lutfile, datatype=datatype) File "/home/priesen/dolfin0.9/bin/viper", line 27, in _dolfin_mesh_plotter from dolfin import Mesh, UnitSquare, File, plot File "/home/priesen/dolfin0.9/lib/python2.5/site-packages/dolfin/__init__.py" , line 11, in <module> import cpp File "/home/priesen/dolfin0.9/lib/python2.5/site-packages/dolfin/cpp.py", line 6, in <module> import _cpp ImportError: /home/priesen/dolfin0.9/lib/python2.5/site-packages/dolfin/_cpp.so: undefined symbol: Py_InitModule4 does someone have a clue on what went wrong ? thanks for your help, patrick _______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@xxxxxxxxxx http://www.fenics.org/mailman/listinfo/dolfin-dev_______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@xxxxxxxxxx http://www.fenics.org/mailman/listinfo/dolfin-dev
Thread Previous • Date Previous • Date Next • Thread Next |