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:

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 17 Jan '11, 15:20

Ciudy's gravatar image

Ciudy
175
accept rate: 0%

edited 17 Jan '11, 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

link

answered 17 Jan '11, 16:00

aaronh's gravatar image

aaronh ♦♦
1.3k3
accept rate: 34%

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:

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

The command was :

sudo python2.6 manage.py syncdb --all

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

Thanks again

link

answered 18 Jan '11, 06:19

Ciudy's gravatar image

Ciudy
175
accept rate: 0%

edited 18 Jan '11, 06:20

You shouldn't sudo anything, ever.

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

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

Finally, a friend install it for me. Thanks everyone

(18 Jan '11, 07:46) Ciudy Ciudy's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×85
×42

Asked: 17 Jan '11, 15:20

Seen: 1,553 times

Last updated: 18 Jan '11, 07:46

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