Hi, I am trying to install OpenBabel 2.4.1 and Pybel 1.8 for Python 2.7.12 (32-bit) under Windows 7.
[Python was installed via the vanilla python-2.7.12.msi installer. This is on a 'clean' machine, so there is no relation to the problem with installing Pybel for Anaconda I reported last month: https://sourceforge.net/p/openbabel/mailman/message/35429073/] I obtained the OpenBabel installer [OpenBabel-2.4.1-x86.exe] from here: https://sourceforge.net/projects/openbabel/files/openbabel/2.4.1/OpenBabel-2.4.1-x86.exe/download I obtained the Pybel installer [openbabel-python-1.8.py27.exe] from here: http://sourceforge.net/projects/openbabel/files/openbabel-python/1.8/ At least when I run the cmd prompt in administrator mode (here, I should clarify that I need to specify another ADMIN account to install software), I can reproduce all of the expected output for Open Babel, as documented here: https://openbabel.org/docs/dev/UseTheLibrary/PythonInstall.html However, when I try and import pybel into Python in the same cmd prompt session, I get the following error: ----------------------- C:\windows\system32>python Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit ( Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import pybel Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27\lib\site-packages\pybel.py", line 52, in <module> import openbabel as ob File "C:\Python27\lib\site-packages\openbabel.py", line 37, in <module> _openbabel = swig_import_helper() File "C:\Python27\lib\site-packages\openbabel.py", line 33, in swig_import_hel per _mod = imp.load_module('_openbabel', fp, pathname, description) ImportError: DLL load failed: The specified procedure could not be found. >>> ----------------------------- Thank you in advance for any assistance you have time to provide. Best regards, Richard
------------------------------------------------------------------------------
_______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss