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.html
<http://openbabel.org/docs/current/UseTheLibrary/PythonInstall.html>  

1. 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.




--
View this message in context: 
http://forums.openbabel.org/Pybel-Installation-tp4659634.html
Sent from the General discussion mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to