incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From goog cheng <googch...@gmail.com>
Subject Re: can't install couchapp
Date Mon, 07 May 2012 15:41:20 GMT
have solve it.  just nmp link.   make a symbolic link,  cd.   and rm it ok

2012/5/7, Jim Klo <jim.klo@sri.com>:
> Did you install with NPM?
>
> I think 'npm -g remove [package name]' will uninstall the nodejs version.
>
> - Jim
>
> Sent from my iPad
>
> On May 7, 2012, at 4:06 AM, "goog cheng" <googcheng@gmail.com> wrote:
>
>> yes,  i wanna remove the  nodejs
>>
>> 在 2012年5月7日星期一,Alexander Shorin 写道:
>>
>>> 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
>>> <googcheng@gmail.com<javascript:;>>
>>> wrote:
>>>> Hi,  Shorin !  thx!  please see the  attachment  ,  it  seems that
>>>> node.couchapp.js make  a   link  ?  how to do next
>>>>
>>>> 在 2012年5月7日星期一,Alexander Shorin 写道:
>>>>
>>>>> 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
>>>>> <googcheng@gmail.com<javascript:;>>
>>> 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!
>>>
>

Mime
View raw message