1. Michael Bayer
  2. sqlalchemy
  3. Issues

Issues

Issue #1604 resolved

0.5.6 install is reporting itself as 0.4.6 __version__

Anonymous created an issue

Hi,

I am new to SQL ALchemy. I just downloaded and installed the SQLAlchemy-0.5.6.tar.gz on my Windows XP machine. I then issued the following lines in IDLE:

import sqlalchemy print sqlalchemy.version

to which I received the surprise response: 0.4.6

Should that not have been 0.5.6?

Paul Bathen TallPaulInJax at yahoo.com

Comments (8)

  1. Michael Bayer repo owner

    absolutely. see what sqlalchemy.file has to say. I would consider forcibly uninstalling all previously installed versions of SQLAlchemy, then ensuring you're using the latest version of setuptools, then reintalling using --upgrade.

  2. Anonymous

    C:\Python25\lib\site-packages\sqlalchemy__init__.pyc

    This is an initial install of SQL Alchemy, I'd never heard of the product before tonight. And I downloaded the filename SQLAlchemy-0.5.6.tar.gz from one of the mirror sites, I don't remember which one. The timestamp on the init.py is 10/8/2009 10:19pm and the version number inside init.py is "version = '0.4.6'"

  3. Michael Bayer repo owner

    Its possible that it was already installed due to some other software you may have installed, or a linux package.

    Uninstall all versions and then download from http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.5.6.tar.gz#md5=65c6d2007969bf5d70307afc65687391 , then run setup.py on that.

    0.5.6 has been downloaded 11,369 times from pypi, so closing this ticket. For further assistance please consult http://groups.google.com/group/sqlalchemy/

  4. Anonymous

    I believe you are correct.

    I deleted the old folder in site-pacakges, then from the command prompt issued a "python setup.py install" command (would not run from just double-clicking on the setup.py).

    The software was placed in the SQLAlchemy-0.5.6-py2.5.egg folder in site-packages where the original install was just in sqlalchemy. I assume the new folder name is correct.

    When I re-ran the version it came back correctly as 0.4.6.

    Thanks for your help and speed!

    Paul

  5. Log in to comment