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 3B0EAC85C for ; Mon, 7 May 2012 10:42:40 +0000 (UTC) Received: (qmail 59848 invoked by uid 500); 7 May 2012 10:42:38 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 59806 invoked by uid 500); 7 May 2012 10:42:38 -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 59720 invoked by uid 99); 7 May 2012 10:42:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 10:42:37 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of googcheng@gmail.com designates 209.85.213.52 as permitted sender) Received: from [209.85.213.52] (HELO mail-yw0-f52.google.com) (209.85.213.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 10:42:32 +0000 Received: by yhpp61 with SMTP id p61so5015366yhp.11 for ; Mon, 07 May 2012 03:42:10 -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; bh=fcJyUCHUde9xTHYs3vAnsEmWd3EX+BBXWMi4fu7A8Ss=; b=RlZW2qd+BU+vKQp8DL2WriwAXCSGkWZOZ9OIhL2BzD5llXcfDXQwKq8SBkWUd5mril 3wyv0BVzTSAsijRi+nmEkn2HbTX5zccnCjojFGkST7soJxY3pZi1I5jsKSptPrJxzS2Z RVXG4DdCmf9QqxUIVs4bwKWz32LUOnwBZ+XcVVjDWSDt361c1WVebw/rta4ZYzyjeVOz 5tcVlWb6RU/05iYNtm5bK69b0MxOmbV3nEh6yiiclVw4c2qTeklDvpsWx4umkxR8+FIJ 94LnuKXGj9214ZSVMUO+ifOZ69RlodXnKf6R9mtMFAbVDHGc6t07FyZzC+nsma75rWcQ zwWw== MIME-Version: 1.0 Received: by 10.236.185.200 with SMTP id u48mr18841224yhm.9.1336387330715; Mon, 07 May 2012 03:42:10 -0700 (PDT) Received: by 10.100.114.4 with HTTP; Mon, 7 May 2012 03:42:10 -0700 (PDT) In-Reply-To: References: Date: Mon, 7 May 2012 18:42:10 +0800 Message-ID: Subject: Re: can't install couchapp From: goog cheng To: "user@couchdb.apache.org" Content-Type: multipart/mixed; boundary=20cf305640d921312904bf6fec17 X-Virus-Checked: Checked by ClamAV on apache.org --20cf305640d921312904bf6fec17 Content-Type: multipart/alternative; boundary=20cf305640d921312004bf6fec15 --20cf305640d921312004bf6fec15 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hi, Shorin ! thx! please see the attachment , it seems that node.couchapp.js make a link ? how to do next =D4=DA 2012=C4=EA5=D4=C27=C8=D5=D0=C7=C6=DA=D2=BB=A3=ACAlexander Shorin =D0= =B4=B5=C0=A3=BA > 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__': > run() > > Hope it helps. > > -- > ,,,^..^,,, > > > On Mon, May 7, 2012 at 12:25 PM, goog cheng > > wrote: > > Hi, all! > > today, i hava install couchapp well by python-setuptools ,, > > later, i do a mistake , install the > > https://github.com/mikeal/node.couchapp.js ,then couchapp can't run, > ... > > I can't installl ,,, 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! > --20cf305640d921312004bf6fec15 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hi,  Shorin !  thx!  please see the  attachment  ,=  it  seems that node.couchapp.js make  a   link  = ?  how to do next

=D4=DA 2012=C4=EA5=D4=C27=C8=D5=D0=C7=C6=DA= =D2=BB=A3=ACAlexander Shorin =D0=B4=B5=C0=A3=BA
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__':
   run()

Hope it helps.

--
,,,^..^,,,


On Mon, May 7, 2012 at 12:25 PM, goog cheng <googchen= g@gmail.com> wrote:
> Hi,  all!
> today,  i  hava install couchapp well by  python-setupt= ools  ,,
> later,  i do a  mistake , install the
> https://github.com/mikeal/node.couchapp.js ,then   couchapp can= 't run,  ...
>  I can't installl  ,,, 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!
--20cf305640d921312004bf6fec15-- --20cf305640d921312904bf6fec17--