0.5.6 install is reporting itself as 0.4.6 __version__
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)
-
repo owner -
repo owner that is,
sqlalchemy.__file__
. -
Account Deleted 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'"
-
repo owner - changed status to wontfix
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/
-
repo owner OK I guess not a linux package since you're on windows. Just make sure to blow away any existing copies of SQLAlchemy.
-
Account Deleted 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
-
Account Deleted Correction. Came back as 0.5.6!!! Sorry for the typo!
-
repo owner - removed milestone
Removing milestone: 0.5.xx (automated comment)
- Log in to comment
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.