Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pip cannot find python-itunes package #9

Closed
nofeet opened this issue Jul 17, 2013 · 22 comments
Closed

Pip cannot find python-itunes package #9

nofeet opened this issue Jul 17, 2013 · 22 comments

Comments

@nofeet
Copy link

nofeet commented Jul 17, 2013

This issue is slightly different than #7 .

easy_install works, but when I run pip install python-itunes, I also get the error "No distributions at all found for python-itunes".

But in the log, I saw this:

Downloading/unpacking python-itunes
Getting page http://pypi.python.org/simple/python-itunes
URLs to search for versions for python-itunes:
* http://pypi.python.org/simple/python-itunes/
Getting page http://pypi.python.org/simple/python-itunes/
Analyzing links from page https://pypi.python.org/simple/python-itunes/
  Skipping link https://pypi.python.org/packages/source/p/python-itunes/python-itunes.tar.gz#md5=6690e8a261d3486b90763e3281842c1b (from https://pypi.python.org/simple/python-itunes/); wrong project name (not python-itunes)
  Skipping link http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html (from https://pypi.python.org/simple/python-itunes/); unknown archive format: .html

Could not find any downloads that satisfy the requirement python-itunes

Note that in line 7 it's skipping the tar.gz package link with the message "wrong project name (not python-itunes)". I think that if you remove the "#md5=..." after the file name, it will work.

If fact, this works:

pip install https://pypi.python.org/packages/source/p/python-itunes/python-itunes.tar.gz

Thanks for the package!

@ocelma
Copy link
Owner

ocelma commented Jul 17, 2013

Hi,

sorry, I can't reproduce your error! :-(

See:

  1. Uninstall package:
    ocelma@ocelma-vaio:~/gracenote/source/perforce/cddb-dsp/users/ocelma/recsys/src/rest-ws$ sudo pip uninstall python-itunes
    [sudo] password for ocelma:
    Uninstalling python-itunes:
    /usr/local/lib/python2.7/dist-packages/itunes
    /usr/local/lib/python2.7/dist-packages/python_itunes-1.0.egg-info
    Proceed (y/n)? y
    Successfully uninstalled python-itunes

  2. Install package:

ocelma@ocelma-vaio:~/gracenote/source/perforce/cddb-dsp/users/ocelma/recsys/src/rest-ws$ sudo pip install python-itunes
Downloading/unpacking python-itunes
Downloading python-itunes.tar.gz (95Kb): 95Kb downloaded
Running setup.py egg_info for package python-itunes

Installing collected packages: python-itunes
Running setup.py install for python-itunes

Successfully installed python-itunes
Cleaning up...

@nofeet
Copy link
Author

nofeet commented Jul 17, 2013

Interesting.

I'm running it on OS X 10.8 (Mountain Lion), which Python version 2.7.2 and Pip version 1.2.1. I'll try it on another environment later.

How about you?

@nofeet
Copy link
Author

nofeet commented Jul 17, 2013

Aha, I think I found the issue... the file name in the link it's using is missing a version number. See the source code here: https://github.com/pypa/pip/blob/develop/pip/index.py#L492-496

I saw this in both pip versions 1.2.1 and 1.3.1. Which version are you using?

I'm surprised that pip would be so sensitive about this. (The least it could do is print a clearer error message!) Do you think you can change the name to python-itunes-1.0.tar.gz?

Thanks!

@ocelma
Copy link
Owner

ocelma commented Jul 17, 2013

$ pip --version
pip 1.1 from /usr/lib/python2.7/dist-packages (python 2.7)

I can change the name, yes (once I remember how to login again, as I don't
remember the password, and have no access to the mail I signed up with!)

Thanks for the feedback

On Wed, Jul 17, 2013 at 1:42 PM, Greg Nofi notifications@github.com wrote:

Aha, I think I found the issue... the file name in the link it's using is
missing a version number. See the source code here:
https://github.com/pypa/pip/blob/develop/pip/index.py#L492-496

I saw this in both pip versions 1.2.1 and 1.3.1. Which version are you
using?

I'm surprised that pip would be so sensitive about this. (The least it
could do is print a clearer error message!) Do you think you can change the
name to python-itunes-1.0.tar.gz?

Thanks!


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-21143281
.

@mwaterfall
Copy link

This is still an issue for me.

@mwaterfall
Copy link

Here's what I'm getting:

www:~ mwaterfall$ pip install python-itunes
Downloading/unpacking python-itunes
  Could not find any downloads that satisfy the requirement python-itunes
Cleaning up...
No distributions at all found for python-itunes
Storing complete log in /Users/mwaterfall/.pip/pip.log
www:~ mwaterfall$ cat /Users/mwaterfall/.pip/pip.log
------------------------------------------------------------
/usr/local/bin/pip run on Fri Nov 15 17:58:07 2013
Downloading/unpacking python-itunes

  Getting page https://pypi.python.org/simple/python-itunes/
  URLs to search for versions for python-itunes:
  * https://pypi.python.org/simple/python-itunes/
  Analyzing links from page https://pypi.python.org/simple/python-itunes/
    Skipping link https://pypi.python.org/packages/source/p/python-itunes/python-itunes.tar.gz#md5=6690e8a261d3486b90763e3281842c1b (from https://pypi.python.org/simple/python-itunes/); wrong project name (not python-itunes)
    Skipping link http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html (from https://pypi.python.org/simple/python-itunes/); unknown archive format: .html
  Could not find any downloads that satisfy the requirement python-itunes

@ocelma
Copy link
Owner

ocelma commented Nov 15, 2013

Meanwhile I see how to solve this, here's the link of the file you need to
download:

https://pypi.python.org/packages/source/p/python-itunes/python-itunes.tar.gz#md5=6690e8a261d3486b90763e3281842c1b

Alternatively, you can get it from here too:
https://github.com/ocelma/python-itunes

once unzipped, just run the classi: python setup.py install

On Fri, Nov 15, 2013 at 10:43 AM, Michael Waterfall <
notifications@github.com> wrote:

Here's what I'm getting:

www:~ mwaterfall$ pip install python-itunes
Downloading/unpacking python-itunes
Could not find any downloads that satisfy the requirement python-itunes
Cleaning up...
No distributions at all found for python-itunes
Storing complete log in /Users/mwaterfall/.pip/pip.log

www:~ mwaterfall$ cat /Users/mwaterfall/.pip/pip.log

/usr/local/bin/pip run on Fri Nov 15 17:58:07 2013
Downloading/unpacking python-itunes

Getting page https://pypi.python.org/simple/python-itunes/
URLs to search for versions for python-itunes:


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28592967
.

@ereOn
Copy link

ereOn commented Jul 22, 2014

Any progress on this issue ?

I'm facing the same issue and none of the workarounds are a possibility for me, as I have to install it as part of an automated installation.

@ocelma
Copy link
Owner

ocelma commented Jul 22, 2014

Hi,

Currently I'm not really involved in this project anymore.
So, unless anyone else wants to fix this issue (see above, first comment), at the moment I guess the best solution for your automated installation is doing this:

$ pip install https://pypi.python.org/packages/source/p/python-itunes/python-itunes.tar.gz

@caxap
Copy link
Contributor

caxap commented Dec 10, 2014

Possible workaround

pip install -e git+https://github.com/ocelma/python-itunes.git#egg=itunes

@ocelma
Copy link
Owner

ocelma commented Dec 12, 2014

Thanks. I tried this workaround and it worked fine!

@sampsyo
Copy link
Contributor

sampsyo commented Dec 13, 2015

Hi, @ocelma—the beets project would be happy to try and resolve this, but I think it requires control over the PyPI listing. Would you be interested in letting us take over the release?

@ocelma
Copy link
Owner

ocelma commented Dec 13, 2015

Hi

Ok. It makes sense.
I don't have time to fix this nowadays.

Though, I can't find my pypi passwd anymore.

Oscar

On Sat, 12 Dec 2015 at 16:38 Adrian Sampson notifications@github.com
wrote:

Hi, @ocelma https://github.com/ocelma—the beets project would be happy
to try and resolve this, but I think it requires control over the PyPI
listing. Would you be interested in letting us take over the release?


Reply to this email directly or view it on GitHub
#9 (comment).

@sampsyo
Copy link
Contributor

sampsyo commented Dec 13, 2015

OK, thanks! We will need PyPI access to do it, though, so do let us know if you recover your account.

@mrmachine
Copy link

@sampsyo you could just upload a fixed version under another name to pypi? Then at least you could list the dependency in extras_require.

@sampsyo
Copy link
Contributor

sampsyo commented Jan 12, 2016

Yes, that would be an option—it would just be even less disruptive if we could continue to use the same name.

@ocelma
Copy link
Owner

ocelma commented Jan 13, 2016

Hi

I meant to change/recover my password, so you can use my account to update
the pypi package.

Unfortunately I clicked on 'Lost Login?', entered my username (ocelma I
believe), but never got any email with a link to reset the passwd.

Yet, just tried to login with my Google account now and it worked, so let
me know what are the next steps.

Thanks,

Oscar

On Tue, 12 Jan 2016 at 09:22 Adrian Sampson notifications@github.com
wrote:

Yes, that would be an option—it would just be even less disruptive if we
could continue to use the same name.


Reply to this email directly or view it on GitHub
#9 (comment).

@sampsyo
Copy link
Contributor

sampsyo commented Jan 13, 2016

Awesome! Thank you, Oscar!

I think this is what you need to do:

Thank you again!

@ocelma
Copy link
Owner

ocelma commented Jan 13, 2016

Done!

(just noticed -when viewing the roles page- that my username is not ocelma
but Oscar.Celma. That's why I never got any email to reset my passwd, nor
any error for that matter...).

Good luck. I hope this package is useful for you and others

On Tue, 12 Jan 2016 at 21:11 Adrian Sampson notifications@github.com
wrote:

Awesome! Thank you, Oscar!

I think this is what you need to do:

Thank you again!


Reply to this email directly or view it on GitHub
#9 (comment).

@sampsyo
Copy link
Contributor

sampsyo commented Jan 13, 2016

Awesome! Thank you again—and thanks for writing a really useful package!

I'll fork this soon and update the PyPI listing (and I'll leave a note here when I do).

@ocelma
Copy link
Owner

ocelma commented Jan 14, 2016

Oh! I just realized that I gave you access to another package I have
(python-recsys).
So, Oscar.Celma user @ pypi is not the owner of python-itunes. No idea why,
though, as I uploaded that packages a few years back.

We're still stuck here... Sorry about that!

On Tue, 12 Jan 2016 at 22:13 Adrian Sampson notifications@github.com
wrote:

Awesome! Thank you again—and thanks for writing a really useful package!

I'll fork this soon and update the PyPI listing (and I'll leave a note
here when I do).


Reply to this email directly or view it on GitHub
#9 (comment).

@sampsyo
Copy link
Contributor

sampsyo commented Jan 14, 2016

Ah, OK! Thanks for letting me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants