On 10/18/13 9:04 PM, Gustavo Machado Alvares de Lima wrote: > Hi Ben, > > I installed the .deb package 64bit, but for some reason it couldn't set > pythonpaths correctly. I could solve the problem by adding to paths to > pythonpath as you said, as follows: > > export PYTHONPATH='$PYTHONPATH:/usr/lib/modeller9.12/lib/x86_64-intel8'' > export PYTHONPATH='$PYTHONPATH:/usr/lib/modeller9.12/modlib/'' > > And that solved import problems, but a python problem (listed as bug > since python 2.6) showed up: > > undefined symbol: Py_InitModule4
Sounds like you're trying to load the Python 2.3 extension into a newer Python - that won't work (but isn't a Python bug - they just changed the interface between 2.4 and 2.5). Trying adding /usr/lib/modeller9.12/lib/x86_64-intel8/python2.5/ to your PYTHONPATH instead.
BTW, what is the default value of sys.path on your system Python?
Ben Webb, Modeller Caretaker