urschrei / pyzotero

Pyzotero: a Python client for the Zotero API
https://pyzotero.readthedocs.org
Other
911 stars 100 forks source link

easy_install assumes pyzotero 0.9.51 is newest version #24

Closed derNarr closed 11 years ago

derNarr commented 11 years ago

I installed pyzotero as a dependency of zot4rst and it installed the 0.9.51 version what is probably not the right thing, is it?

I followed the instructions on https://bitbucket.org/egh/zot4rst and also an easy_intsall -U pyzotero assumes that 0.9.51 is the newest version.

If this is not intended a version jump to 1.0.0 or to 0.9.91 would be great.

p. s. I am running ubutuntu 64 bit system (but I don't think that this matters here).

If there are any questions feel free to send me a message :)

urschrei commented 11 years ago

Hmm, it looks like PyPI is serving an outdated version. I'll see what's going on.

urschrei commented 11 years ago

OK, I've removed everything except the 0.9.9 and 0.9.9.1 releases, and tested the install from PyPI using pip. Try upgrading Pyzotero, and you should see the latest version.

derNarr commented 11 years ago

sudo easy_install -U pyzotero doesn't work, because the 0.9.51 version is installed (and has a higher version number than all versions on the web).

In order to fix an installed version run:

sudo easy_install "pyzotero==0.9.9.1"
sudo easy_install -U pyzotero

@urschrei maybe you can add a small note to the front page how to fix the issue with an already installed 0.9.51 version and than close this issue :)

urschrei commented 11 years ago

Great, thanks!

derNarr commented 11 years ago

To really remove the version 0.9.51 it might be necessary to delete the corresponding files in the site-packages folder or to run:

sudo pip uninstall pyzotero

And than to reinstall pyzotero with:

sudo easy_install pyzotero

or

sudo pip install pyzotero

The last command didn't worked out for me, but I don't know exactly why.