Re: extreme newbie, cannot get install to work
Ubuntu (quickest, easiest way to get started, ignoring various
options):
1. Check if you have Python's setup_tools (http://pypi.python.org/pypi/
setuptools) by typing (it will ask for your root password):
sudo easy_install Django
If that works, it may be all you need to get started. At this stage if
you don't have root access you could ask your server admin to sort out
steps 2-3.
2. If it doesn't (you'll get a message saying something like - and I
paraphrase - 'easy_install not available', install the python-
setuptools package either via Ubuntu's Synaptic Package Manager or by
typing:
sudo apt-get install python-setuptools
3. Then type (note capital 'D'):
sudo easy_install Django
4. Test that Django can be imported by starting up the Python
interactive shell - type:
python
(...lots of info will appear here including your Python version...)
The shell prompt is this: >>> so after it, type (note small 'd'):
import django
If you get another empty line:
>>>
you're up and running :-)
(exit the shell with: exit() )
If you can't import Django at this stage, open another post.
If you're going to be doing Python development, you'll thank
easy_install :-)
> oh, well, Windows, and Linux Ubuntu. I was in Ubuntu when I wrote.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home