views:

19

answers:

1

Hello guys,

I'm tring to install Hookbox but without success, when I call easy_install or

python setup.py install

it gives me [Errno 13] Permission denied: '/usr/local/lib/python2.6/site-packages/test-easy-install-68779.write-test'

When I try to grant write permissions to this derectory it gives

chmod: /usr/local/lib/python2.6/site-packages/: Operation not permitted

is there any way to solve this prob or install hookbox without easy_install?

+4  A: 

You should have used appropriate privilege to install

sudo python setup.py install

Another option is to use virtualenv to create a isolated environment where you could install

Another way is too install some where, where you have permission.

python setup.py install --home=<dir>

see also the alternate unix installation with option prefix

python setup.py install --prefix=/usr/local

See the details of these options in the docs: http://docs.python.org/install/

If you ask my preference it would be virtualenv, virtualenvwrapper, pip and yolk to manage external modules. google for them

pyfunc