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__ == '__main__':
run()
Hope it helps.
--
,,,^..^,,,
On Mon, May 7, 2012 at 12:25 PM, goog cheng <[email protected]> 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!