Hi, I'm trying to install Askbot following the instructions, but when I write
"python setup.py install" it gives me this:
running install running build running build_py running install_lib creating /usr/lib/python2.6/site-packages/recaptcha_django error: could not create '/usr/lib/python2.6/site-packages/recaptcha_django': Permission denied
So I cannot install Django... Does anyone know why is this?
answered 2012-05-18 07:08:00 -0500zaf
Maybe you re trying to install it on a machine that you do not have access rights everywhere, and when intallation tries to copy files under
/usr/lib/python2.6/site-packages/ you get
access denied. Try using virtualenv to install your application. The idea is that you set up a virtual environment in a path you have permissions (only a couple of steps, should take less than 5 minutes) which then has its own
site-packages directory and everything is installed there, so you never need to write in other directories, outside this environment that you might not have enough permissions.
Hope that helps a bit..
answered 2012-05-20 04:54:05 -0500Pepe
Ok, I was trying to install all this straight to the server via PuTTY, I suppose I was wrong... I should have installed it on my computer first, shouldn't I?
I got to integrate the
"easy_install" command in Windows and, for now, I could follow the instructions until the step 3. Now, when I try to run the
"cp settings_local.py.dist settings_local.py", I get this:
cp: cannot stat settings_local.py.dist': No such file or directory
And here I am stuck again. Any idea?
answered 2012-05-20 20:44:02 -0500Pepe
The problem seems to be resolved using virtualenv, but now I get this when I run
Traceback (most recent call last): File "C:\Users\Francisko\Whatzz\Scripts\askbot-setup-script.py", line 5, in <m odule> from pkg_resources import load_entry_point File "C:\Users\Francisko\Whatzz\lib\site-packages\setuptools-0.6c11-py2.7.egg\ pkg_resources.py", line 2603, in <module> File "C:\Users\Francisko\Whatzz\lib\site-packages\setuptools-0.6c11-py2.7.egg\ pkg_resources.py", line 666, in require File "C:\Users\Francisko\Whatzz\lib\site-packages\setuptools-0.6c11-py2.7.egg\ pkg_resources.py", line 565, in resolve pkg_resources.DistributionNotFound: python-daemon
Do you know anything about that? (Sorry about my ignorance...)
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.create your Q&A site
Asked: 2012-05-18 04:04:52 -0500
Seen: 254 times
Last updated: May 20 '12