tmolomby / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

DLL load failed #271

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by constant...@gmail.com on 18 Jun 2012 at 8:10

GoogleCodeExporter commented 9 years ago
Good morning.

Please see: http://code.google.com/p/pyodbc/issues/detail?id=214

Original comment by dkleeham...@gmail.com on 19 Jun 2012 at 2:06

GoogleCodeExporter commented 9 years ago
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

Original comment by constant...@gmail.com on 19 Jun 2012 at 7:10

GoogleCodeExporter commented 9 years ago
I read the error wrong in your first post.  Did you install from a binary or 
did you compile pyodbc yourself?

Original comment by dkleeham...@gmail.com on 19 Jun 2012 at 9:29

GoogleCodeExporter commented 9 years ago
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

Original comment by constant...@gmail.com on 20 Jun 2012 at 12:30

GoogleCodeExporter commented 9 years ago
Good deal. I'm not sure, glad it's working though.

Original comment by dkleeham...@gmail.com on 22 Jun 2012 at 9:34

GoogleCodeExporter commented 9 years ago
constanine.bond: Are you saying the installer "goes smooth" or that things are 
now working?

Original comment by mkleehammer on 1 Jul 2012 at 3:51

GoogleCodeExporter commented 9 years ago
Closing due to inactivity - please reopen if necessary.

Original comment by mkleehammer on 27 Sep 2012 at 8:25