Issue 271: DLL load failed
Status:  NoFix
Owner: ----
Closed:  Sep 2012
Reported by constant...@gmail.com, Jun 18, 2012
What steps will reproduce the problem?
1. install pyodbc from pre-compiled exe for python 2.6. installer sees python 2.6 in registry and installs without error messages
2. start python and do import pyodbc
3.Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyodbc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified procedure could not be found.

PS H:\> ls C:\Python26\Lib\site-packages\pyodbc*


    Directory: Microsoft.PowerShell.Core\FileSystem::C:\Python26\Lib\site-packages


Mode                LastWriteTime     Length Name
----                -------------     ------ ----
d----        2012-06-18   3:36 PM            pyodbc-3.0.2-py2.6.egg-info
-a---        2011-12-26   2:11 PM      84992 pyodbc.pyd

the info dir has no executable code.
Jun 19, 2012
#2 constant...@gmail.com
hello,

can you pls clarify what is the meaning of :
"It appears that this dependency is being satisfied by running inside of python.exe (which is linked against the same)"

I tried running an interactive python in 'cmd', in emacs, in cygwin and in win powershell. pyodbc won't import in any of these. not sure if they qualify as 'embedded python' which is the topic in the reference.
kind regards
Jun 19, 2012
#3 dkleeham...@gmail.com
I read the error wrong in your first post.  Did you install from a binary or did you compile pyodbc yourself?
Jun 19, 2012
#4 constant...@gmail.com
i installed from the binary for 2.6. everything goes smooth without
error messages.
will try  with a newer version of python. maybe it's just 2.6
Jun 22, 2012
#5 dkleeham...@gmail.com
Good deal. I'm not sure, glad it's working though.
Jul 1, 2012
Project Member #6 mkleehammer
constanine.bond: Are you saying the installer "goes smooth" or that things are now working?


Status: Investigating
Sep 27, 2012
Project Member #7 mkleehammer
Closing due to inactivity - please reopen if necessary.
Status: NoFix