Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'subject:installation': 0.07; 'users,': 0.07; 'executable': 0.09; 'seemed': 0.09; 'subject: [': 0.09; 'typed': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; '"python': 0.16; 'command,': 0.16; 'grep': 0.16; 'invoking': 0.16; 'sudo': 0.16; 'wrote:': 0.18; 'first.': 0.19; 'command': 0.22; 'machine': 0.22; '(in': 0.22; 'manual': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'text.': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'right.': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'on,': 0.29; 'errors': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'gather': 0.31; 'helpful.': 0.31; 'run': 0.32; 'says': 0.33; 'url:python': 0.33; "i'd": 0.34; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'url:listinfo': 0.36; 'hi,': 0.36; 'similar': 0.36; 'url:org': 0.36; 'should': 0.36; 'subject:]': 0.38; 'list,': 0.38; 'pm,': 0.38; 'does': 0.39; 'changed': 0.39; 'url:mail': 0.40; 'how': 0.40; 'solve': 0.60; 'subject: / ': 0.60; 'further': 0.61; 'led': 0.72; 'conclude': 0.84; 'skip:/ 30': 0.84; 'joel': 0.91; 'mistake': 0.91; '2013': 0.98 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:to :cc:content-type; bh=xda/Jm2aaYpMwnlITaZQO29Qh/Ed/dkRf8BHsOz4F0I=; b=LUTS1Tk1XKPHPHnjmAWd3XJGpKcQ3ZaKtCpCBFcLXeFsll0Zq91MDnasbERlBQhobK l+lPcb+EvMkVyOkr+Dj82EwyjN/jsC63ki/08JYVUsqXb9HJNIMcrMxSAU1v7H52cbBl xVxVBPfbC+WXkvvJxLBWwKRO4ZXDtf1VJ8hOVQqPpolLzgobe6BX50+Kbprdj5tsbMlE mSo8bJE+OJkx45OsB9G0eFeKS5aph8x2zx0B25VqsUpdJLUhoGlM0KufvmXJmwOukAhh ZXr3fs2ZNKGSZGT94OOmuSP6DhLjXViSUWKBvl2ypSPxfsAHJ9pmi6+Y3W9K7ClYjT3s CSEA== MIME-Version: 1.0 X-Received: by 10.205.105.73 with SMTP id dp9mr3742829bkc.33.1381174312459; Mon, 07 Oct 2013 12:31:52 -0700 (PDT) In-Reply-To: References: Date: Mon, 7 Oct 2013 15:31:52 -0400 Subject: Re: Newbie: installation difficulties [webapp2 / babel] From: Joel Goldstick To: BobAalsma Content-Type: text/plain; charset=UTF-8 Cc: "python-list@python.org" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 43 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1381174320 news.xs4all.nl 15876 [2001:888:2000:d::a6]:51554 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:56322 On Mon, Oct 7, 2013 at 3:12 PM, BobAalsma wrote: > Hi, > > I'm following webapp2 documentation (release 2.1). > > I made a mistake in following the text. > I typed "pip install babel" and this led to errors in the installation. > As that user is not in sudo list, I changed users, typed "sudo pip install babel" and everything seemed right. > > Further on, the manual says "$ pybabel ...." and when I use that command, the response is "-bash: pybabel: command not found" (in both user environments). > > I'd like to solve this and learn at the same time ;) > > I'm on OS X 10.8.5, python 2.7.5. > > I found a "babel" in /Library/Python/2.7/site-packages. > I found a "babel" in the response to "python -c "help('modules')" | grep babel". > From which I conclude that babel is on the machine and is known to python. > > However, I gather from the webapp2 documentation that babel should also be known to the shell. > I don't yet know how to check this, nor how to repair. > > find /usr -name '*babel*' > and > find /bin -name '*babel*' > return no values, but > find /Library -name '*babel*' > does (as expected). > > I've tried to find similar situations in documentation, forums, Google but found nothing helpful. > -- > https://mail.python.org/mailman/listinfo/python-list If you can run $python babel then I think you need to set babel to be executable to run it without invoking python first. -- Joel Goldstick http://joelgoldstick.com