Cannot import name execute_manager

2,583 views
Skip to first unread message

MAurice

unread,
Jan 22, 2014, 2:16:35 AM1/22/14
to django...@googlegroups.com
Hello django users,
I have a problem when i try to sync my db or runserver on my ubuntu 13.10. of cant import name execute manger
Help me out thanks


File "manage.py", line 2, in <module>
    from django.core.management import execute_manager
ImportError: cannot import name execute_manager

Mike Dewhirst

unread,
Jan 22, 2014, 2:36:03 AM1/22/14
to django...@googlegroups.com
On 22/01/2014 6:16pm, MAurice wrote:
> Hello django users,
> I have a problem when i try to sync my db or runserver on my ubuntu
> 13.10. of cant import name execute manger
> Help me out thanks

You are probably running Django 1.6.x which doesn't have
execute_manager. Here is the 1.5.x code which explains that it is a
deprecated method ...

https://docs.djangoproject.com/en/dev/releases/1.4/#django-core-management-execute-manager

Little bit of work to do.

Hth

Mike

>
>
> File "manage.py", line 2, in <module>
> from django.core.management import execute_manager
> ImportError: cannot import name execute_manager
>
> --
> 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 django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> 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/3dad08cb-842c-4f8b-bbf7-62d3ebcd3114%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Mike Dewhirst

unread,
Jan 22, 2014, 2:44:34 AM1/22/14
to django...@googlegroups.com
On 22/01/2014 6:36pm, Mike Dewhirst wrote:
> On 22/01/2014 6:16pm, MAurice wrote:
>> Hello django users,
>> I have a problem when i try to sync my db or runserver on my ubuntu
>> 13.10. of cant import name execute manger
>> Help me out thanks
>
> You are probably running Django 1.6.x which doesn't have
> execute_manager.Here is the

er ... link

> which explains that it is a deprecated method ...
>
> https://docs.djangoproject.com/en/dev/releases/1.4/#django-core-management-execute-manager
>
>
> Little bit of work to do.
>
> Hth
>
> Mike
>
>>
>>
>> File "manage.py", line 2, in <module>
>> from django.core.management import execute_manager
>> ImportError: cannot import name execute_manager
>>
>> --
>> 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 django-users...@googlegroups.com.
>> To post to this group, send email to django...@googlegroups.com.
>> 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/3dad08cb-842c-4f8b-bbf7-62d3ebcd3114%40googlegroups.com.
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>


--

Climate Pty Ltd
PO Box 308
Mount Eliza
Vic 3930
Australia +61

T: 03 9787 6598
M: 0411 704 143


Maurice J Elagu

unread,
Jan 22, 2014, 1:36:04 PM1/22/14
to django...@googlegroups.com
yes, its actually 1.6.1 
How could i sort this problem out??


On Wed, Jan 22, 2014 at 10:44 AM, Mike Dewhirst <mi...@dewhirst.com.au> wrote:
On 22/01/2014 6:36pm, Mike Dewhirst wrote:
On 22/01/2014 6:16pm, MAurice wrote:
Hello django users,
I have a problem when i try to sync my db or runserver on my ubuntu
13.10. of cant import name execute manger
Help me out thanks

You are probably running Django 1.6.x which doesn't have
execute_manager.Here is the

er ... link
which explains that it is a deprecated method ...

https://docs.djangoproject.com/en/dev/releases/1.4/#django-core-management-execute-manager


Little bit of work to do.

Hth

Mike



File "manage.py", line 2, in <module>
     from django.core.management import execute_manager
ImportError: cannot import name execute_manager

--
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



--

Climate Pty Ltd
PO Box 308
Mount Eliza
Vic 3930
Australia +61

T: 03 9787 6598
M: 0411 704 143



--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/Mh6Ic-78_uw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.

Mike Dewhirst

unread,
Jan 22, 2014, 4:38:16 PM1/22/14
to django...@googlegroups.com
On 23/01/2014 5:36am, Maurice J Elagu wrote:
> yes, its actually 1.6.1
> How could i sort this problem out??

The link opens the release note for 1.4 which itself explains what to do.

Usually when Django deprecates a method, the replacement is
simultaneously implemented so developers can adjust their code
immediately without waiting for it to disappear and cause an error two
versions later.


>
>
> On Wed, Jan 22, 2014 at 10:44 AM, Mike Dewhirst <mi...@dewhirst.com.au
> <mailto:mi...@dewhirst.com.au>> wrote:
>
> On 22/01/2014 6:36pm, Mike Dewhirst wrote:
>
> On 22/01/2014 6:16pm, MAurice wrote:
>
> Hello django users,
> I have a problem when i try to sync my db or runserver on my
> ubuntu
> 13.10. of cant import name execute manger
> Help me out thanks
>
>
> You are probably running Django 1.6.x which doesn't have
> execute_manager.Here is the
>
>
> er ... link
>
>
> which explains that it is a deprecated method ...
>
> https://docs.djangoproject.__com/en/dev/releases/1.4/#__django-core-management-__execute-manager
> <https://docs.djangoproject.com/en/dev/releases/1.4/#django-core-management-execute-manager>
>
>
> Little bit of work to do.
>
> Hth
>
> Mike
>
>
>
> File "manage.py", line 2, in <module>
> from django.core.management import execute_manager
> ImportError: cannot import name execute_manager
>
> --
> 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 django-users+unsubscribe@__googlegroups.com
> <mailto:django-users%2Bunsu...@googlegroups.com>.
> To post to this group, send email to
> django...@googlegroups.com
> <mailto:django...@googlegroups.com>.
> Visit this group at
> http://groups.google.com/__group/django-users
> <http://groups.google.com/group/django-users>.
> To view this discussion on the web visit
> https://groups.google.com/d/__msgid/django-users/3dad08cb-__842c-4f8b-bbf7-62d3ebcd3114%__40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/3dad08cb-842c-4f8b-bbf7-62d3ebcd3114%40googlegroups.com>.
>
> For more options, visit
> https://groups.google.com/__groups/opt_out
> <https://groups.google.com/groups/opt_out>.
>
>
>
>
> --
>
> Climate Pty Ltd
> PO Box 308
> Mount Eliza
> Vic 3930
> Australia +61
>
> T: 03 9787 6598
> M: 0411 704 143
>
>
>
> --
> You received this message because you are subscribed to a topic in
> the Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/__topic/django-users/Mh6Ic-78___uw/unsubscribe
> <https://groups.google.com/d/topic/django-users/Mh6Ic-78_uw/unsubscribe>.
> To unsubscribe from this group and all its topics, send an email to
> django-users+unsubscribe@__googlegroups.com
> <mailto:django-users%2Bunsu...@googlegroups.com>.
> To post to this group, send email to django...@googlegroups.com
> <mailto:django...@googlegroups.com>.
> Visit this group at http://groups.google.com/__group/django-users
> <http://groups.google.com/group/django-users>.
> To view this discussion on the web visit
> https://groups.google.com/d/__msgid/django-users/52DF76E2.__90108%40dewhirst.com.au
> <https://groups.google.com/d/msgid/django-users/52DF76E2.90108%40dewhirst.com.au>.
>
> For more options, visit https://groups.google.com/__groups/opt_out
> <https://groups.google.com/groups/opt_out>.
>
>
> --
> 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 django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> 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/CAJoucbXxajco73Xa-igFYe%2BTwQjb4iUVRYn9KaTNabGUf6pNkg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages