Never mind on this one. Ended up creating a virtual environment and running 
django in that and it's working now.

Thanks,

Alex

On Tuesday, March 18, 2014 10:32:01 AM UTC-7, Alex Scoble wrote:
>
> Hi All,
>
> Running CentOS 6.4 with python 2.6.6 and django 1.5.5
>
> Doing this at prompt works: python -c 'import django; print 
> django.VERSION'
> Returns: (1, 5, 5, 'final', 0)
>
> However, running django-admin.py or 
>
> import django
>
> from django.core.management import execute_from_command_line
>
> when in Python result in errors such as
>
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/django/bin/django-admin.py", line 
> 2, in <module>
>     from django.core import management
> ImportError: No module named core
>
>
> or 
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named core.management
>
>
> Django 1.5.4 was running fine on this box. I'm not using virtual 
> environments and it doesn't look like those are required for what I'm doing 
> (running webvirtmgr https://github.com/retspen/webvirtmgr ). I've 
> uninstalled and reinstalled django using pip and still have same issues.
>
> Any ideas on what to check?
>
> Thanks,
>
> Alex
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e4b5bb7d-c9ed-4f3b-9ce7-b343277b00d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to