WebFaction
Community site: login faq

I'm having a bit of a problem creating a new Django app. I enter in the desired name, select Django, and select the newest Django version (1.2.3 w/Python 2.6). When I click create, after a few seconds the form reloads with the following error at the top:

Error: Error while executing system commands:
Traceback (most recent call last):
File "./bin/django-admin.py", line 2, in <module>
from django.core import management
ImportError: No module named core

Then when I go in and check my applications, the application is listed, but it's showing as a custom app. I've tried this a couple of times now with the same result. Anybody have any idea what's going on?

asked 12 Dec '10, 18:20

Jerrian
111
accept rate: 0%

Hi Jerrian,

Sorry about this, can you submit a support ticket so we can look into the problem further?

(12 Dec '10, 18:30) klynton

Support ticket has been submitted.

(12 Dec '10, 18:52) Jerrian

Hi,

It looks like you have Django installed account-wide since django-admin.py is in ./bin. When the installer tries to run it's version of django-admin.py it is unable to locate django and thus not able to run. To fix the problem, you can move the django-admin.py file out of the way, run the installer, and then move it back.

permanent link

answered 15 Dec '10, 03:50

klynton
1.6k1210
accept rate: 41%

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
×108
×54

question asked: 12 Dec '10, 18:20

question was seen: 2,720 times

last updated: 15 Dec '10, 03:50

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