This forum is no longer active. Please post your questions to our new community site
how do i start a new project in mac os x 10.4?
|
|
hi, when i try to start a new project in mac os x 10.4, i get this error on the command line:
how can i fix this? any help would be greatly appreciated, thanks. |
|
|
Hi geezer, It seems that you are using the python installed on your system instead of the Django Stack python. To execute any Stack binary (python, mysql, sqlite, etc) it is necessary to start the “django console” before to start the command. For example, try the following in your terminal:
I hope it helps you. |
|
|
hi, i have tried this and, now a new error happens: any help would be greatly appreciated, thanks. |
|
|
Hi, Sorry, it is more easy if you type “django-admin.py” directly without the “python” command: bq.bash-2.05b# ./user_djangostack Cheers. |
|
|
hi, still having errors: bash-2.05b# ./use_djangostack any help would be greatly appreciated, thanks. |
|
|
hi, this works though: bash-2.05b# ./use_djangostack but why do i have to type the whole pwd to django-admin.py? Any help would be greatly appreciated, thanks. |
|
|
hi, i would like to install the satchmo webshop on my mac os x 10.4, and use the djangostack for this, but satchmo has some requirements listed here: http://www.satchmoproject.com/docs/svn/requirements.html. I was wondering if the python that comes with the djangostack has the python source libraries with it?, also, if i were to install python packages such as: pycrypto-2.0.1.tar.gz, how and where in the djangostack would i install them? thanks. |
|
|
Hi geezer, It is not necessary to type the whole pwd to django-admin.py. Try to execute the following:
It is necessary to specify the whole pwd because the “python” command needs a file argument. About your second question, you can follow these steps to install modules over DjangoStack: 1. Download and extract the pycrypto module.
3. Finally run the install script: I hope it helps you! |
|
|
hi all, I get the same error geezer mentioned… here’s the code: There’s a workaround obviously… but I’m new to python, so I don’t know if I’ll need to write the complete path when issuing other commands too (such as the scripts in rails). |
|
|
Hi mikele, Try to edit the /Applications/djangostack-1.0-6/apps/django/bin/django-admin.py file and replace:
with
Let us know if it is a valid solution for you and we will try to fix for the next version. Cheers. |
|
|
Hi beltran yes it did the trick! thanks a lot :-)
|
|
|
Thanks mikele for your feedback! |

