So the only obvious difference I am seeing between my posting and RichardMR's
posting is Python2.6 vs 2.7.

I did a complete uninstall / reinstall via Setting -> Add Remove programs
for both the OpenBabelGui 2.3.2 and the python bindings.

The first time I re-installed it didn't generate the BABEL_DATADIR variable
at all so I uninstalled/installed again.  This time I elected for the Remove
VS2010 redistribution option instead of the repair.  I got the BABEL_DATADIR
variable but I still get the missing DLL business.

http://open-babel.readthedocs.org/en/latest/UseTheLibrary/PythonInstall.html

python -vv

>>> import openbabel
# trying c:\Python26\lib\encodings\cp437.pyd
# trying c:\Python26\lib\encodings\cp437.py
# c:\Python26\lib\encodings\cp437.pyc matches
c:\Python26\lib\encodings\cp437.py

import encodings.cp437 # precompiled from
c:\Python26\lib\encodings\cp437.pyc
# trying openbabel.pyd
# trying openbabel.py
# trying openbabel.pyw
# trying openbabel.pyc
# trying c:\Python26\DLLs\openbabel.pyd
# trying c:\Python26\DLLs\openbabel.py
# trying c:\Python26\DLLs\openbabel.pyw
# trying c:\Python26\DLLs\openbabel.pyc
# trying c:\Python26\lib\openbabel.pyd
# trying c:\Python26\lib\openbabel.py
# trying c:\Python26\lib\openbabel.pyw
# trying c:\Python26\lib\openbabel.pyc
# trying c:\Python26\lib\lib-tk\openbabel.pyd
# trying c:\Python26\lib\lib-tk\openbabel.py
# trying c:\Python26\lib\lib-tk\openbabel.pyw
# trying c:\Python26\lib\lib-tk\openbabel.pyc
# trying c:\Python26\openbabel.pyd
# trying c:\Python26\openbabel.py
# trying c:\Python26\openbabel.pyw
# trying c:\Python26\openbabel.pyc
# trying c:\Python26\lib\site-packages\openbabel.pyd
# trying c:\Python26\lib\site-packages\openbabel.py
# c:\Python26\lib\site-packages\openbabel.pyc matches
c:\Python26\lib\site-packa
ges\openbabel.py
import openbabel # precompiled from
c:\Python26\lib\site-packages\openbabel.pyc
# trying new.pyd
# trying new.py
# trying new.pyw
# trying new.pyc
# trying c:\Python26\DLLs\new.pyd
# trying c:\Python26\DLLs\new.py
# trying c:\Python26\DLLs\new.pyw
# trying c:\Python26\DLLs\new.pyc
# trying c:\Python26\lib\new.pyd
# trying c:\Python26\lib\new.py
# c:\Python26\lib\new.pyc matches c:\Python26\lib\new.py
import new # precompiled from c:\Python26\lib\new.pyc
import imp # builtin
# trying c:\Python26\lib\site-packages\_openbabel.pyd
#   clear[2] version_info
#   clear[2] new_instancemethod
#   clear[2] __file__
#   clear[2] __name__
#   clear[2] swig_import_helper
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "c:\Python26\lib\site-packages\openbabel.py", line 28, in <module>
    _openbabel = swig_import_helper()
  File "c:\Python26\lib\site-packages\openbabel.py", line 24, in
swig_import_hel
per
    _mod = imp.load_module('_openbabel', fp, pathname, description)
ImportError: DLL load failed: The specified procedure could not be found.
>>>



--
View this message in context: 
http://forums.openbabel.org/import-openbabel-Import-Error-DLL-load-failed-tp4655785p4655800.html
Sent from the General discussion mailing list archive at Nabble.com.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to