Re: [modeller_usage] windows 7, modeller 9.10 and python 2.6.6
To: Ludovic Autin <>
Subject: Re: [modeller_usage] windows 7, modeller 9.10 and python 2.6.6
From: Modeller Caretaker <>
Date: Fri, 09 Dec 2011 15:37:01 -0800
Cc: "" <>
On 12/09/2011 12:11 PM, Ludovic Autin wrote:
until I never add any problem with MODELLER, which is a really nice software.
I recently encounter a problem on windows 7-64bits.
Python2.6.6 32bits is installed as well as a python2.7 64bits version.
Modeller 9v10 is installed and seem to work.
The problem is accessing modeller from Python 2.6.6.
Modeller for Windows is 32-bit software, so it should work with your
32-bit Python. But it's not tested on 64-bit Windows, so it's entirely
possible that you could run into problems.
After setting all the environment properly for modeller
It shouldn't be necessary to set anything up to use Modeller from Python
- when you install it the necessary registry keys are automatically
installed. What setup did you do? Maybe that confused things.
import _modeller
ImportError : DLL load failed: La procedure specifie est introuvable
(sorry for the french, ie file not found)
Its seems that there is some library that cant be found. I used
dependancy walker to see what was the dependancy of _modlib.so in
modlib/python2.6/ and it appear to be libmodlib.dll that is in the bin
directory...
I think you mean that _modeller.pyd in modlib/python2.6/ depends on
libmodeller.dll in bin/, no? If you look at modlib/modeller/__init__.py,
you'll see that when you "import modeller" it automatically modifies the
Python path so that it can find _modeller.pyd, and the system PATH so
that it can find the libmodeller DLL. So there is no need to do this
manually. It might be worth putting some print statements in there to
make sure this is working correctly on your system though.