WebFaction
Community site: login faq

I am currently receiving this error when trying to create a new django app {django 1.2.4 (mod_wsgi3.2/python 2.6)}:

Error: Error while executing system commands:
Unknown command: 'startproject'
Type 'django-admin.py help' for usage.

Was the script updated recently, or is this something on my end that is broken?

asked 27 Dec '10, 12:13

joshfinnie
961913
accept rate: 0%


I think something on your end may be broken. Since Django is not installed by default, and I only had it installed in my virtualenv for pinax, I had to install it in ~/lib/python2.6/. However after installing it I was able to start a project in my home directory without an issue,

$ easy_install-2.6 django
$ django-admin.py startproject test123

If you would like support to take a closer look you may submit a ticket at panel.webfaction.com.

permanent link

answered 27 Dec '10, 12:31

johns
5.4k312
accept rate: 23%

edited 27 Dec '10, 12:34

I was attempting to create a new django app through the panel. I do currently have another django app installed for another website, do you think that is the problem?

(27 Dec '10, 13:54) joshfinnie

Installing django from the control panel installs it within the webapp directory assigned to it. It sets up paths for the default application to work with apache and not the paths needed for the shell to work globally. This is because you may need django-admin.py from multiple projects and calling it directly is more accurate. However it can be overcome by simply installing django with easy_install.

(27 Dec '10, 14:19) johns
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

Question tags:

×909
×337
×108

question asked: 27 Dec '10, 12:13

question was seen: 4,161 times

last updated: 27 Dec '10, 14:19

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM