Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CB85C89B for ; Mon, 7 May 2012 10:55:50 +0000 (UTC) Received: (qmail 90599 invoked by uid 500); 7 May 2012 10:55:48 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 90564 invoked by uid 500); 7 May 2012 10:55:48 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 90550 invoked by uid 99); 7 May 2012 10:55:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 10:55:48 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kxepal@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-qc0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 10:55:42 +0000 Received: by qcmv28 with SMTP id v28so3636692qcm.11 for ; Mon, 07 May 2012 03:55:21 -0700 (PDT) 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 :content-type:content-transfer-encoding; bh=E+n1cNTJj/npX8wZpJaxq+ZpUMR9GUp0V+QwpkXq7Ig=; b=WzBdocNmqlJ10KxXOZqFYe/lxqhBp7ZGu/afU8QLYAIh16APKsh4TiKQoDotQXQido L2fSvvEKO0qiO458JPhnlyNJiV9aOd+IAkTymmtBUaUvO4/TwQcMaXy+BJFMckdwxOI3 TAAc0RfJX3lcyAoUHJXE0sRBScQFSQkrF7lA+Lltct6BQpewTCNa6DeZsbpfnEtZkNnq XzktUcTxt9vtFBDdTZ2YDp7NXZlQPf1wUFvCGuvH8nana/On8L09OCG84EM5+76NYrXK nie70aYf3wDwPr+KxH07Of42TicvdFgaGfvTn+EIzV7qDc2pYIHUH63NkEKva6J0Tabk DxOA== MIME-Version: 1.0 Received: by 10.229.136.202 with SMTP id s10mr7263381qct.64.1336388121431; Mon, 07 May 2012 03:55:21 -0700 (PDT) Received: by 10.224.188.211 with HTTP; Mon, 7 May 2012 03:55:21 -0700 (PDT) In-Reply-To: References: Date: Mon, 7 May 2012 14:55:21 +0400 Message-ID: Subject: Re: can't install couchapp From: Alexander Shorin To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Oh, you're talking about nodejs couchapp while I've though about python one= : https://github.com/couchapp/couchapp and Couchapp-1.0.1-py2.7.egg is Python one, not nodejs. This is two different realizations of about same task, so you need to decide which one you'd like to use. I've never work with nodejs and couldn't help with it, but may be others could. -- ,,,^..^,,, On Mon, May 7, 2012 at 2:42 PM, goog cheng wrote: > Hi, =C2=A0Shorin ! =C2=A0thx! =C2=A0please see the =C2=A0attachment =C2= =A0, =C2=A0it =C2=A0seems that > node.couchapp.js make =C2=A0a =C2=A0 link =C2=A0? =C2=A0how to do next > > =E5=9C=A8 2012=E5=B9=B45=E6=9C=887=E6=97=A5=E6=98=9F=E6=9C=9F=E4=B8=80=EF= =BC=8CAlexander Shorin =E5=86=99=E9=81=93=EF=BC=9A > >> Hi! >> >> Have you tried direct install via package manager(system or python)? >> $ pip install couchapp >> >> Was couchapp installed correctly? >> >> $ python >> >>> import couchapp >> >>> dir(couchapp) >> ['__builtins__', '__doc__', '__file__', '__name__', '__package__', >> '__path__', '__version__', 'version_info'] >> >>> couchapp.version_info >> (1, 0, 1) >> >> If everything is ok and still no couchapp in your /usr/local/bin, try >> to create it manually (replace first string for your interpreter): >> >> #!/var/lib/python/couchdb/bin/python2.7 >> # -*- coding: utf-8 -*- >> # >> # This file is part of couchapp released under the Apache 2 license. >> # See the NOTICE for more information. >> >> from couchapp.dispatch import run >> >> if __name__ =3D=3D '__main__': >> =C2=A0 =C2=A0run() >> >> Hope it helps. >> >> -- >> ,,,^..^,,, >> >> >> On Mon, May 7, 2012 at 12:25 PM, goog cheng wrote: >> > Hi, =C2=A0all! >> > today, =C2=A0i =C2=A0hava install couchapp well by =C2=A0python-setupt= ools =C2=A0,, >> > later, =C2=A0i do a =C2=A0mistake , install the >> > https://github.com/mikeal/node.couchapp.js ,then =C2=A0 couchapp can't= run, >> > =C2=A0... >> > =C2=A0I can't installl =C2=A0,,, tips: >> > >> > >> > >> > Processing Couchapp-1.0.1-py2.7.egg >> > Couchapp 1.0.1 is already the active version in easy-install.pth >> > Installing couchapp script to /usr/local/bin >> > error: /usr/local/bin/couchapp: No such file or directory >> > >> > >> > how to solve it ? THX!