Hi,
Similar questions regarding installation of pybel has been asked before but I could'nt figure out the solution from the answers so here I am asking another one.
I have installed python (3.5) 32 bit and use Pycharm as IDE.
I am trying to install python bindings by following the instructions provided at
http://openbabel.org/docs/current/UseTheLibrary/PythonInstall.html1. Installed the OpenBabelGUI version 2.3.1, (32 bit)
2. Installed the OpenBabel Python binding 3.2 provided at above link
3. Checked installation, everything appeared fine.
4. Tried to import pybel with "import pybel", received following error
Traceback (most recent call last):
File "C:/Users/xx/PycharmProjects/basic/basic.py", line 1, in <module>
import pybel
File "C:\Users\xx\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pybel.py", line 16, in <module>
import openbabel as ob
File "C:\Users\xx\AppData\Local\Programs\Python\Python35-32\lib\site-packages\openbabel.py", line 30, in <module>
_openbabel = swig_import_helper()
File "C:\Users\xx\AppData\Local\Programs\Python\Python35-32\lib\site-packages\openbabel.py", line 26, in swig_import_helper
_mod = imp.load_module('_openbabel', fp, pathname, description)
File "C:\Users\xx\AppData\Local\Programs\Python\Python35-32\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\xx\AppData\Local\Programs\Python\Python35-32\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
Process finished with exit code 1
I have also tried pybel installation with OpenBabelGUI version 2.4.1 (32 bit, 64 bit) and also installed with cMake, MinGW but none of these seem to solve the issue.
Any help will be much appreciated, thanks.