Hello,

First of all, unix is very new to me, I'm sorry if I may sound boring with my questions.

I have just bought a Webfaction package, especially to be able to run OSQA but I have errors installing libraries:

 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-4508.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).

Am I missing something ?

Thank you

asked 17 Jan '11, 16:26

Ciudy's gravatar image

Ciudy
101146
accept rate: 100%

edited 18 Jan '11, 04:26

@Ciudy, "OSQA Webfaction shell libraries installation errors" is not a question. All postings at meta.osqa.net are required to have a clear, specific question as their title. Please edit this immediately. Thank you.

(17 Jan '11, 19:10) rickross ♦♦

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 [edit] Finally a friend install it for me. Thanks everyone

link

answered 18 Jan '11, 07:27

Ciudy's gravatar image

Ciudy
101146
accept rate: 100%

edited 18 Jan '11, 08:42

1

you don't need to sudo

(18 Jan '11, 19:27) john

I've just been through this and found the wiki a little out of date. Check the directory:

/home/cuidy/lib/python2.6/django

If it has stuff in it (like the django install) then you can skip this step, if not...

Go to the panel
Select "Domain/Websites"
Ensure you have "Django" installed. If not create new application and select 'django'.

link

answered 18 Jan '11, 02:04

john's gravatar image

john
313
accept rate: 0%

edited 18 Jan '11, 02:10

Just few days ago, the Webfaction fellas released a script that makes it totally automatic... and I can say it, works perfectly!!

Here is it,

http://wiki.webfaction.com/wiki/InstallScripts

link

answered 31 Jan '11, 11:10

joe%20di%20castro's gravatar image

joe di castro
26566
accept rate: 40%

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:

×298
×49
×33
×7

Asked: 17 Jan '11, 16:26

Seen: 944 times

Last updated: 31 Jan '11, 11:10

powered by OSQA