Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '16,': 0.03; 'installed.': 0.07; 'subject:file': 0.07; 'lawrence': 0.09; 'override': 0.09; 'setup.py': 0.09; 'windows,': 0.09; 'cc:addr:python-list': 0.11; 'checking,': 0.16; 'decisions,': 0.16; 'elsewhere.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'it;': 0.16; 'sudo': 0.16; 'thread,': 0.16; 'wrestling': 0.16; 'sat,': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'normally': 0.19; 'properly': 0.19; 'manual': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'installation': 0.23; "shouldn't": 0.24; 'skip': 0.24; 'decide': 0.24; 'cc:2**0': 0.24; 'handling': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'gives': 0.31; 'easier': 0.31; 'usually': 0.31; 'involvement': 0.31; 'location,': 0.31; 'file': 0.32; 'run': 0.32; 'becomes': 0.33; 'beginning': 0.33; 'problem': 0.35; "can't": 0.35; 'common': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'are,': 0.36; 'doing': 0.36; 'subject:?': 0.36; 'should': 0.36; 'being': 0.38; 'whatever': 0.38; 'sure': 0.39; 'future': 0.60; 'most': 0.60; 'mentioned': 0.61; 'new': 0.61; 'name': 0.63; 'grab': 0.64; 'different': 0.65; 'great': 0.65; 'biggest': 0.67; 'prompt': 0.68; 'facilities': 0.69; '2015': 0.84; 'apt-get': 0.84; 'disappear': 0.84; "everything's": 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=bAbOvuSSPxmbto8bX0Inh6fjGv/y1G9KuIaXuVhBI0s=; b=jjdixJ8SMOGeOleeZzebzd/9BKU/SSKP6Xq9160aQS3mUKPYMKeh7yhMv37o79IhRw Ka6Qdl9/UZrd3SvS6yLld84RAPqJcwNNWD+mo4gMo614WYGYemmEBro3Bl7AHe+64EJS 2PubXamA4dzQrQo+LWMXU6brSFkxOQtVqvpaYfKAp/1M6V3e6OGf5ZwuJiNs+A9KZacK //b6KZQEdr2jAwOYbqk8UfoXyK3v3iwHL5NGWYkrFPo1pw0XEZG6GPxuwi8gY0efNo2F KwfllzFaR0+2Bkpx2svH7oodZVGXWX0ssVcgAkWStSRBBmBnsVJF0mPdFQD3E0zT1bSE fLFg== MIME-Version: 1.0 X-Received: by 10.42.43.199 with SMTP id y7mr24169222ice.12.1431742670814; Fri, 15 May 2015 19:17:50 -0700 (PDT) In-Reply-To: References: <55563EBA.8080606@stoneleaf.us> Date: Sat, 16 May 2015 12:17:50 +1000 Subject: Re: pip grabs tar.gz file instead of whl? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431742680 news.xs4all.nl 2966 [2001:888:2000:d::a6]:32867 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90712 On Sat, May 16, 2015 at 11:58 AM, Mark Lawrence 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. > > As for sudo I always thought that was a type of Japanese wrestling :) That'll be sumo :) sudo is "su do this", and it's like using "su", then doing something, and then dropping out again. (su gives you a new prompt as superuser, or as some other user.) 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