login community faq

Hello, First of all, unix is very new to me, I'm sorry if I may sound boring with my questions. I've just came to webfaction especially to be able to run OSQA. Webfaction was recommended by OSQA affiliate link on the homepage. "We recommend WebFaction for OSQA hosting. For under $10/month their reliable servers get the job done." They also have a wiki with step by step guide into installing OSQA on Webfaction; but the first step with installing libraries came with errors:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
easy_install-2.6 django
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 2] No such file or directory: '/home/ciudy/lib/python2.6/test-easy-install-2316.pth'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /home/ciudy/lib/python2.6/

This directory does not currently exist.  Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).

Maybe is there someone here kind enough to explain me what I have to do? Am I missing something? Thank you

asked Jan 17 '11 at 15:20

Ciudy's gravatar image

Ciudy
13

edited Jan 17 '11 at 15:21


The problem is the python2.6 directory doesn't exist yet. You can create it by logging in to the server and entering:

mkdir ~/lib/python2.6

answered Jan 17 '11 at 16:00

aaronh's gravatar image

aaronh ♦♦
12743

Thank you for your reply

I've managed to install the libraries, to configure everything, but when I try to populate the database ( as explained in OSQA's wiki) I get the following:

1
ciudy is not in the sudoers file.  This incident will be reported.

The command was :

1
sudo python2.6 manage.py syncdb --all

I believe I don't have permissions to do that. Is there any other way ?

Thanks again

answered Jan 18 '11 at 06:19

Ciudy's gravatar image

Ciudy
13

edited Jan 18 '11 at 06:20

You shouldn't sudo anything, ever.

Just repeat the command without the sudo and you should be good :)

(Jan 18 '11 at 06:27) David L ♦♦ David%20L's gravatar image

Finally, a friend install it for me. Thanks everyone

(Jan 18 '11 at 07:46) Ciudy Ciudy's gravatar image
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited