Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #90719 > unrolled thread

Re: pip grabs tar.gz file instead of whl?

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2015-05-16 05:12 +0100
Last post2015-05-15 23:16 -0700
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: pip grabs tar.gz file instead of whl? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-16 05:12 +0100
    Re: pip grabs tar.gz file instead of whl? wxjmfauth@gmail.com - 2015-05-15 23:16 -0700

#90719 — Re: pip grabs tar.gz file instead of whl?

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2015-05-16 05:12 +0100
SubjectRe: pip grabs tar.gz file instead of whl?
Message-ID<mailman.61.1431749556.17265.python-list@python.org>
On 16/05/2015 03:17, Chris Angelico wrote:
> On Sat, May 16, 2015 at 11:58 AM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
>>> The way I see it, pip is great for handling the most common case where
>>> you just want to name a package and say "go fetch", but if you want to
>>> override its decisions, you should use the lower-level facilities eg
>>> manual downloading and setup.py. It's like with Debian packages: I can
>>> type "sudo apt-get install blah" and it'll run off and grab it, check
>>> its signatures, make sure everything's right, and then install it; but
>>> if I want to install something from a different location, the best way
>>> is usually to download it manually, do my own checking, and then "sudo
>>> dpkg -i blah.deb" to actually install it - no apt-get involvement at
>>> all. This shouldn't normally be a problem; you don't *have* to use pip
>>> here, you just want to end up with the package properly installed.
>>>
>>> ChrisA
>>>
>>
>> Being on Windows, as I said at the beginning of the thread, the biggest
>> problem is that setup.py can't find VS if there is no whl file to install.
>> Hence it is far easier to get the binaries from elsewhere. Hopefully this
>> problem will disappear in the future as the whl standard becomes prevelant.
>>
>
> I don't know what the exact installation steps are for a whl, which is
> why I mentioned setup.py. Whatever those lower-level facilities are,
> those are what you'd use once you decide to skip pip and do your own
> downloading.
>
> ChrisA
>

The whole point is that setup.py never works because it can't find VS 
despite the fact that I know I've got the correct version installed.  If 
I download a whl file, pip installs that version perfectly. If I try to 
get pip to download and install the very same file it gave the zipfile 
error I referred to earlier.  Hopefully all the problems with pip will 
get ironed out, or where do we go, distutils3? :(

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

[toc] | [next] | [standalone]


#90724

Fromwxjmfauth@gmail.com
Date2015-05-15 23:16 -0700
Message-ID<dd904620-05a9-4e2b-81f3-f1ff71dbbb3d@googlegroups.com>
In reply to#90719
Le samedi 16 mai 2015 06:12:46 UTC+2, Mark Lawrence a écrit :
> On 16/05/2015 03:17, Chris Angelico wrote:
> > On Sat, May 16, 2015 at 11:58 AM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
> >>> The way I see it, pip is great for handling the most common case where
> >>> you just want to name a package and say "go fetch", but if you want to
> >>> override its decisions, you should use the lower-level facilities eg
> >>> manual downloading and setup.py. It's like with Debian packages: I can
> >>> type "sudo apt-get install blah" and it'll run off and grab it, check
> >>> its signatures, make sure everything's right, and then install it; but
> >>> if I want to install something from a different location, the best way
> >>> is usually to download it manually, do my own checking, and then "sudo
> >>> dpkg -i blah.deb" to actually install it - no apt-get involvement at
> >>> all. This shouldn't normally be a problem; you don't *have* to use pip
> >>> here, you just want to end up with the package properly installed.
> >>>
> >>> ChrisA
> >>>
> >>
> >> Being on Windows, as I said at the beginning of the thread, the biggest
> >> problem is that setup.py can't find VS if there is no whl file to install.
> >> Hence it is far easier to get the binaries from elsewhere. Hopefully this
> >> problem will disappear in the future as the whl standard becomes prevelant.
> >>
> >
> > I don't know what the exact installation steps are for a whl, which is
> > why I mentioned setup.py. Whatever those lower-level facilities are,
> > those are what you'd use once you decide to skip pip and do your own
> > downloading.
> >
> > ChrisA
> >
> 
> The whole point is that setup.py never works because it can't find VS 
> despite the fact that I know I've got the correct version installed.  If 
> I download a whl file, pip installs that version perfectly. If I try to 
> get pip to download and install the very same file it gave the zipfile 
> error I referred to earlier.  Hopefully all the problems with pip will 
> get ironed out, or where do we go, distutils3? :(
> 
> -- 
> My fellow Pythonistas, ask not what our language can do for you, ask
> what you can do for our language.
> 
> Mark Lawrence

Probably in ten years.

Unfortunately, Python just becomes unusable, especially
for such a user: c:\Users\Ελένη and plenty of other
European people.

I'm still wondering how to install IPython...

jmf

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web