From: Noel O'B. <bao...@gm...> - 2009-04-19 18:14:30
|
2009/4/16 R.L. Marchese-Robinson <rl...@ca...> > Hi, > I am working with Windows XP (32 bit). > > Following the instructions provided > at:http://openbabel.org/wiki/Install_Python_bindings, I installed > OpenBabel-2.2.1 using the installer OpenBabel2.2.1-Windows_Installer.exe. > Since I am using python 2.5.2, I downloaded and ran > openbabel-python-1.4.py2.5.exe. > > The output for all commands detailed in the instructions was as per the > example output, save for import pybel. This generated: "***OpenBabelError > in OpenBabel::OBDefine Failed to make an instance PatternFP" I just repeated the procedure on my machine, which has the same setup, and there were no problems. The first thing I did was uninstall all previous OpenBabel installations and Python modules and check that the environment variables PATH and BABEL_DATADIR contained no references to either. Do you have several versions of Python installed? If so, did you select the correct version during the installation procedure for the python module? Are your environment variables set correctly (test at the command-line as described on the installation page for the python module)? BABEL_DATADIR needs to point to the OpenBabel installation directory. Try "import pybel" while in an empty folder- you may have a filename conflict with a file in BABEL_DATADIR. - Noel |