Hello,

I'm just getting started with python and SQLAlchemy and have started
through the SA (0.4.6) tutorial on a Windows XP machine.  Having
successfully done some exercises with the SQLite database, I want to
try connecting to a legacy SQLServer database in my lab. I am
attempting to install and use pyodbc, so I did the following:

-- session follows --
C:\>easy_install pyodbc
Searching for pyodbc
Reading http://pypi.python.org/simple/pyodbc/
Reading http://pyodbc.sourceforge.net
Reading https://sourceforge.net/project/showfil … _id=162557
Best match: pyodbc 2.0.58
Downloading http://downloads.sourceforge.net/pyodbc … 2-py2.5.ex
e?modtime=1208279386&big_mirror=0
Processing pyodbc-2.0.58.win32-py2.5.exe
creating 'c:\docume~1\ras~1.kel\locals~1\temp\easy_install-8vqzth
\pyodbc-2.0.58-
py2.5-win32.egg' and adding 'c:\docume~1\ras~1.kel\locals~1\temp
\easy_install-8v
qzth\pyodbc-2.0.58-py2.5-win32.egg.tmp' to it
Moving pyodbc-2.0.58-py2.5-win32.egg to c:\python25\lib\site-packages
Adding pyodbc 2.0.58 to easy-install.pth file

Installed c:\python25\lib\site-packages\pyodbc-2.0.58-py2.5-win32.egg
Processing dependencies for pyodbc
Finished processing dependencies for pyodbc[/color]
-- session preceeds --

So, that didn't look bad, but when I tried
>>> import pyodbc
ImportError: No module named pyodbc


When I look in my "C:\Python25\Lib\site-packages" directory I find the
following:

Directory of C:\Python25\Lib\site-packages

06/17/2008  00:24    <DIR>          .
06/17/2008  00:24    <DIR>          ..
06/17/2008  00:23            31,421 adodbapi-2.1-py2.5.egg
06/13/2008  21:34    <DIR>          beaker-0.9.4-py2.5.egg
06/13/2008  21:33             5,720 decorator-2.2.0-py2.5.egg
06/17/2008  00:23               629 easy-install.pth
06/13/2008  21:34    <DIR>          formencode-0.7.1-py2.5.egg
06/13/2008  21:33    <DIR>          mako-0.1.8-py2.5.egg
06/13/2008  21:33    <DIR>          nose-0.10.3-py2.5.egg
06/13/2008  21:34    <DIR>          paste-1.4.2-py2.5.egg
06/13/2008  21:34    <DIR>          pastedeploy-1.3.1-py2.5.egg
06/13/2008  21:34    <DIR>          pastescript-1.3.6-py2.5.egg
06/13/2008  21:33    <DIR>          Pylons-0.9.6.2-py2.5.egg
06/17/2008  00:22            96,341 pyodbc-2.0.58-py2.5-win32.egg
10/28/2005  19:07               121 README.txt
06/13/2008  21:34    <DIR>          Routes-1.7.3-py2.5.egg
06/14/2008  01:06           327,726 setuptools-0.6c8-py2.5-win32.egg
06/13/2008  21:14           324,858 setuptools-0.6c8-py2.5.egg
06/14/2008  01:06                36 setuptools.pth
06/13/2008  21:33            41,161 simplejson-1.7.1-py2.5.egg
06/14/2008  01:16    <DIR>          sqlalchemy-0.4.6-py2.5.egg
06/14/2008  00:49    <DIR>          sqlalchemy-0.5.0beta1-py2.5.egg
06/13/2008  21:34    <DIR>          webhelpers-0.3.2-py2.5.egg

Instead of a directory named "pyodbc-2.0.58-py2.5-win32.egg" there's
just a simple file by that name


Anybody know what I've done wrong?

Thanks in advance

Rob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to