Path: csiph.com!usenet.pasdenom.info!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed4a.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'debug': 0.07; 'ignored': 0.07; 'nasty': 0.07; 'arguments,': 0.09; 'dependency': 0.09; 'satisfy': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; '(use': 0.16; 'command-line': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'storing': 0.16; 'subject:install': 0.16; 'do,': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'thanks.': 0.20; 'cc:addr:python.org': 0.22; 'install': 0.23; 'error': 0.23; 'versions': 0.24; 'cc:2**0': 0.24; '(see': 0.26; 'this:': 0.26; 'least': 0.26; 'asking': 0.27; 'header:In-Reply- To:1': 0.27; 'installed': 0.27; 'external': 0.29; 'am,': 0.29; 'newer': 0.30; 'message-id:@mail.gmail.com': 0.30; 'getting': 0.31; '(possibly': 0.31; 'option': 0.32; 'skip:d 20': 0.34; 'could': 0.34; 'subject:with': 0.35; 'anybody': 0.35; 'requirement': 0.35; 'received:google.com': 0.35; 'next': 0.36; 'subject:?': 0.36; 'wrong': 0.37; 'files': 0.38; 'skip:- 10': 0.38; 'does': 0.39; 'hosted': 0.39; 'how': 0.40; 'improved': 0.60; "you're": 0.61; '26,': 0.68; '2015': 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=JRc1HXdU2PZCwYpY526iSswxkE5gKh0QyISIkq+spn0=; b=e1TQiRo29eyQHCxQ+BOh6yd6rLYgT/ROOgLbbkkygroUWNB+DUEQiXYmih9N9FmNy1 sK5voVZmJCRN5ydt0SQHzcs9vJvh2aw2y8E0QnCm7/CZ+p+9Q/TJTule9CwVg1pubQ4b F7deLOgJvRf/5kLa2+OT0IXIUR9i3JHDFIbdebohojDuES19UfT0GXkQnaE6bVmltsT1 KjHSM0S/Ui9cyeW1BvpNAO8DB768A8uc/uBw4pe6qTEhStFLEPXYLA8LThXHt4kIqXw/ t9RB2hjrBiis7/8gDxsXnHlr6KagGptowPvEai7Vv1vC0c5lJyAxF50HwCGWEBkAWn3F eMeQ== MIME-Version: 1.0 X-Received: by 10.107.160.202 with SMTP id j193mr6705981ioe.43.1430018667072; Sat, 25 Apr 2015 20:24:27 -0700 (PDT) In-Reply-To: References: Date: Sun, 26 Apr 2015 13:24:26 +1000 Subject: Re: How to install dtrx with pip? 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1430018676 news.xs4all.nl 2942 [2001:888:2000:d::a6]:42239 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:89410 On Sun, Apr 26, 2015 at 10:50 AM, Peng Yu wrote: > I get the following error when I try to install pip. Does anybody know > what it is wrong and how to fix it? Thanks. > > ~/Downloads$ pip install dtrx > Downloading/unpacking dtrx > Could not find any downloads that satisfy the requirement dtrx > Some externally hosted files were ignored (use --allow-external dtrx > to allow). > Cleaning up... > No distributions at all found for dtrx > Storing debug log for failure in /Users/py/.pip/pip.log > ~/Downloads$ pip install --allow-external dtrx > You must give at least one requirement to install (see "pip help install") This is a nasty peculiarity of pip's command-line arguments, which is (I think) improved in newer versions of pip. The --allow-external option stipulates that the one next package may be installed externally, and that package might be a dependency of the one you're actually asking for. For what you want to do, try this: $ pip install --allow-external dtrx dtrx which means "Pip, go and install (possibly getting an external package for dtrx) dtrx. Thanks." ChrisA