Ok, just installed Django anew with pip (first did uninstall, then install).

This is what I have:

$ django-admin.py help
Traceback (most recent call last):
  File "/usr/bin/django-admin.py", line 5, in <module>
    management.execute_from_command_line()
  File
"/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line
453, in execute_from_command_line
    utility.execute()
  File
"/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line
359, in execute
    version=get_version(),
  File "/usr/lib/python2.6/site-packages/django/__init__.py", line 6, in
get_version
    from django.utils.version import get_version
ImportError: cannot import name get_version
$ python
Python 2.7.5 (default, Jun  6 2013, 18:46:06)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named django


On Mon, Jul 8, 2013 at 2:10 PM, Yves S. Garret
<[email protected]>wrote:

> I've gone through the entire django install steps and when I fired up my
> Python shell
> (python 2.7.5, to be exact) and did import django, this is what I got:
>
> >>> import django
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named django
>
> sudo python setup.py install should have done it, yes?  If not, what am I
> missing?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to