Django won't start with a wierd error “AttributeError: 'module' object has no attribute 'getargspec'”









up vote
3
down vote

favorite












I'm a bit inexperienced when it comes to Django's internals so I'm completely stuck now. It worked yesterday, and I can't remember I've changed anything significant.



When I turn DEBUG=True there is a stack trace on any module which happens to be first in the list



Traceback (most recent call last):
File "/home/yury/PycharmProjects/mezzamine/findmeals/mezzamine/manage.py", line 28, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/usr/local/lib/python3.4/dist-packages/django/__init__.py", line 18, in setup
from django.utils.log import configure_logging
File "/usr/local/lib/python3.4/dist-packages/django/utils/log.py", line 13, in <module>
from django.views.debug import ExceptionReporter, get_exception_reporter_filter
File "/usr/local/lib/python3.4/dist-packages/django/views/debug.py", line 10, in <module>
from django.http import (HttpResponse, HttpResponseServerError,
File "/usr/local/lib/python3.4/dist-packages/django/http/__init__.py", line 4, in <module>
from django.http.response import (
File "/usr/local/lib/python3.4/dist-packages/django/http/response.py", line 13, in <module>
from django.core.serializers.json import DjangoJSONEncoder
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/__init__.py", line 23, in <module>
from django.core.serializers.base import SerializerDoesNotExist
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/base.py", line 6, in <module>
from django.db import models
File "/usr/local/lib/python3.4/dist-packages/django/db/__init__.py", line 98, in <module>
signals.request_started.connect(reset_queries)
File "/usr/local/lib/python3.4/dist-packages/django/dispatch/dispatcher.py", line 99, in connect
argspec = inspect.getargspec(receiver)
AttributeError: 'module' object has no attribute 'getargspec'


And when I turn DEBUG=False it complains about



Traceback (most recent call last):
File "/home/yury/PycharmProjects/mezzamine/findmeals/mezzamine/manage.py", line 28, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/usr/local/lib/python3.4/dist-packages/django/__init__.py", line 18, in setup
from django.utils.log import configure_logging
File "/usr/local/lib/python3.4/dist-packages/django/utils/log.py", line 13, in <module>
from django.views.debug import ExceptionReporter, get_exception_reporter_filter
File "/usr/local/lib/python3.4/dist-packages/django/views/debug.py", line 10, in <module>
from django.http import (HttpResponse, HttpResponseServerError,
File "/usr/local/lib/python3.4/dist-packages/django/http/__init__.py", line 4, in <module>
from django.http.response import (
File "/usr/local/lib/python3.4/dist-packages/django/http/response.py", line 13, in <module>
from django.core.serializers.json import DjangoJSONEncoder
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/__init__.py", line 23, in <module>
from django.core.serializers.base import SerializerDoesNotExist
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/base.py", line 6, in <module>
from django.db import models
File "/usr/local/lib/python3.4/dist-packages/django/db/models/__init__.py", line 8, in <module>
from django.db.models.manager import Manager # NOQA
File "/usr/local/lib/python3.4/dist-packages/django/db/models/manager.py", line 63, in <module>
class BaseManager(six.with_metaclass(RenameManagerMethods)):
File "/usr/local/lib/python3.4/dist-packages/django/utils/six.py", line 778, in __new__
return meta(name, bases, d)
File "/usr/local/lib/python3.4/dist-packages/django/utils/deprecation.py", line 50, in __new__
for base in inspect.getmro(new_class):
AttributeError: 'module' object has no attribute 'getmro'


I use Django 1.7.8 and Mezzanine 3 and tried upgrading and reinstalling them with no luck. Could anyone give a hint on what's wrong?










share|improve this question

















  • 3




    Try to Uninstall Django package with pip and re-install it. pip uninstall Django and pip install Django. Add also your settings.py, please
    – Louis Barranqueiro
    Nov 17 '15 at 8:16











  • What I understand from the docs is that you need version 4 for Django 1.7.8, and for version 3 you need Django 1.6
    – het.oosten
    Nov 17 '15 at 8:29














up vote
3
down vote

favorite












I'm a bit inexperienced when it comes to Django's internals so I'm completely stuck now. It worked yesterday, and I can't remember I've changed anything significant.



When I turn DEBUG=True there is a stack trace on any module which happens to be first in the list



Traceback (most recent call last):
File "/home/yury/PycharmProjects/mezzamine/findmeals/mezzamine/manage.py", line 28, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/usr/local/lib/python3.4/dist-packages/django/__init__.py", line 18, in setup
from django.utils.log import configure_logging
File "/usr/local/lib/python3.4/dist-packages/django/utils/log.py", line 13, in <module>
from django.views.debug import ExceptionReporter, get_exception_reporter_filter
File "/usr/local/lib/python3.4/dist-packages/django/views/debug.py", line 10, in <module>
from django.http import (HttpResponse, HttpResponseServerError,
File "/usr/local/lib/python3.4/dist-packages/django/http/__init__.py", line 4, in <module>
from django.http.response import (
File "/usr/local/lib/python3.4/dist-packages/django/http/response.py", line 13, in <module>
from django.core.serializers.json import DjangoJSONEncoder
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/__init__.py", line 23, in <module>
from django.core.serializers.base import SerializerDoesNotExist
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/base.py", line 6, in <module>
from django.db import models
File "/usr/local/lib/python3.4/dist-packages/django/db/__init__.py", line 98, in <module>
signals.request_started.connect(reset_queries)
File "/usr/local/lib/python3.4/dist-packages/django/dispatch/dispatcher.py", line 99, in connect
argspec = inspect.getargspec(receiver)
AttributeError: 'module' object has no attribute 'getargspec'


And when I turn DEBUG=False it complains about



Traceback (most recent call last):
File "/home/yury/PycharmProjects/mezzamine/findmeals/mezzamine/manage.py", line 28, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/usr/local/lib/python3.4/dist-packages/django/__init__.py", line 18, in setup
from django.utils.log import configure_logging
File "/usr/local/lib/python3.4/dist-packages/django/utils/log.py", line 13, in <module>
from django.views.debug import ExceptionReporter, get_exception_reporter_filter
File "/usr/local/lib/python3.4/dist-packages/django/views/debug.py", line 10, in <module>
from django.http import (HttpResponse, HttpResponseServerError,
File "/usr/local/lib/python3.4/dist-packages/django/http/__init__.py", line 4, in <module>
from django.http.response import (
File "/usr/local/lib/python3.4/dist-packages/django/http/response.py", line 13, in <module>
from django.core.serializers.json import DjangoJSONEncoder
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/__init__.py", line 23, in <module>
from django.core.serializers.base import SerializerDoesNotExist
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/base.py", line 6, in <module>
from django.db import models
File "/usr/local/lib/python3.4/dist-packages/django/db/models/__init__.py", line 8, in <module>
from django.db.models.manager import Manager # NOQA
File "/usr/local/lib/python3.4/dist-packages/django/db/models/manager.py", line 63, in <module>
class BaseManager(six.with_metaclass(RenameManagerMethods)):
File "/usr/local/lib/python3.4/dist-packages/django/utils/six.py", line 778, in __new__
return meta(name, bases, d)
File "/usr/local/lib/python3.4/dist-packages/django/utils/deprecation.py", line 50, in __new__
for base in inspect.getmro(new_class):
AttributeError: 'module' object has no attribute 'getmro'


I use Django 1.7.8 and Mezzanine 3 and tried upgrading and reinstalling them with no luck. Could anyone give a hint on what's wrong?










share|improve this question

















  • 3




    Try to Uninstall Django package with pip and re-install it. pip uninstall Django and pip install Django. Add also your settings.py, please
    – Louis Barranqueiro
    Nov 17 '15 at 8:16











  • What I understand from the docs is that you need version 4 for Django 1.7.8, and for version 3 you need Django 1.6
    – het.oosten
    Nov 17 '15 at 8:29












up vote
3
down vote

favorite









up vote
3
down vote

favorite











I'm a bit inexperienced when it comes to Django's internals so I'm completely stuck now. It worked yesterday, and I can't remember I've changed anything significant.



When I turn DEBUG=True there is a stack trace on any module which happens to be first in the list



Traceback (most recent call last):
File "/home/yury/PycharmProjects/mezzamine/findmeals/mezzamine/manage.py", line 28, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/usr/local/lib/python3.4/dist-packages/django/__init__.py", line 18, in setup
from django.utils.log import configure_logging
File "/usr/local/lib/python3.4/dist-packages/django/utils/log.py", line 13, in <module>
from django.views.debug import ExceptionReporter, get_exception_reporter_filter
File "/usr/local/lib/python3.4/dist-packages/django/views/debug.py", line 10, in <module>
from django.http import (HttpResponse, HttpResponseServerError,
File "/usr/local/lib/python3.4/dist-packages/django/http/__init__.py", line 4, in <module>
from django.http.response import (
File "/usr/local/lib/python3.4/dist-packages/django/http/response.py", line 13, in <module>
from django.core.serializers.json import DjangoJSONEncoder
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/__init__.py", line 23, in <module>
from django.core.serializers.base import SerializerDoesNotExist
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/base.py", line 6, in <module>
from django.db import models
File "/usr/local/lib/python3.4/dist-packages/django/db/__init__.py", line 98, in <module>
signals.request_started.connect(reset_queries)
File "/usr/local/lib/python3.4/dist-packages/django/dispatch/dispatcher.py", line 99, in connect
argspec = inspect.getargspec(receiver)
AttributeError: 'module' object has no attribute 'getargspec'


And when I turn DEBUG=False it complains about



Traceback (most recent call last):
File "/home/yury/PycharmProjects/mezzamine/findmeals/mezzamine/manage.py", line 28, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/usr/local/lib/python3.4/dist-packages/django/__init__.py", line 18, in setup
from django.utils.log import configure_logging
File "/usr/local/lib/python3.4/dist-packages/django/utils/log.py", line 13, in <module>
from django.views.debug import ExceptionReporter, get_exception_reporter_filter
File "/usr/local/lib/python3.4/dist-packages/django/views/debug.py", line 10, in <module>
from django.http import (HttpResponse, HttpResponseServerError,
File "/usr/local/lib/python3.4/dist-packages/django/http/__init__.py", line 4, in <module>
from django.http.response import (
File "/usr/local/lib/python3.4/dist-packages/django/http/response.py", line 13, in <module>
from django.core.serializers.json import DjangoJSONEncoder
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/__init__.py", line 23, in <module>
from django.core.serializers.base import SerializerDoesNotExist
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/base.py", line 6, in <module>
from django.db import models
File "/usr/local/lib/python3.4/dist-packages/django/db/models/__init__.py", line 8, in <module>
from django.db.models.manager import Manager # NOQA
File "/usr/local/lib/python3.4/dist-packages/django/db/models/manager.py", line 63, in <module>
class BaseManager(six.with_metaclass(RenameManagerMethods)):
File "/usr/local/lib/python3.4/dist-packages/django/utils/six.py", line 778, in __new__
return meta(name, bases, d)
File "/usr/local/lib/python3.4/dist-packages/django/utils/deprecation.py", line 50, in __new__
for base in inspect.getmro(new_class):
AttributeError: 'module' object has no attribute 'getmro'


I use Django 1.7.8 and Mezzanine 3 and tried upgrading and reinstalling them with no luck. Could anyone give a hint on what's wrong?










share|improve this question













I'm a bit inexperienced when it comes to Django's internals so I'm completely stuck now. It worked yesterday, and I can't remember I've changed anything significant.



When I turn DEBUG=True there is a stack trace on any module which happens to be first in the list



Traceback (most recent call last):
File "/home/yury/PycharmProjects/mezzamine/findmeals/mezzamine/manage.py", line 28, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/usr/local/lib/python3.4/dist-packages/django/__init__.py", line 18, in setup
from django.utils.log import configure_logging
File "/usr/local/lib/python3.4/dist-packages/django/utils/log.py", line 13, in <module>
from django.views.debug import ExceptionReporter, get_exception_reporter_filter
File "/usr/local/lib/python3.4/dist-packages/django/views/debug.py", line 10, in <module>
from django.http import (HttpResponse, HttpResponseServerError,
File "/usr/local/lib/python3.4/dist-packages/django/http/__init__.py", line 4, in <module>
from django.http.response import (
File "/usr/local/lib/python3.4/dist-packages/django/http/response.py", line 13, in <module>
from django.core.serializers.json import DjangoJSONEncoder
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/__init__.py", line 23, in <module>
from django.core.serializers.base import SerializerDoesNotExist
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/base.py", line 6, in <module>
from django.db import models
File "/usr/local/lib/python3.4/dist-packages/django/db/__init__.py", line 98, in <module>
signals.request_started.connect(reset_queries)
File "/usr/local/lib/python3.4/dist-packages/django/dispatch/dispatcher.py", line 99, in connect
argspec = inspect.getargspec(receiver)
AttributeError: 'module' object has no attribute 'getargspec'


And when I turn DEBUG=False it complains about



Traceback (most recent call last):
File "/home/yury/PycharmProjects/mezzamine/findmeals/mezzamine/manage.py", line 28, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.4/dist-packages/django/core/management/__init__.py", line 354, in execute
django.setup()
File "/usr/local/lib/python3.4/dist-packages/django/__init__.py", line 18, in setup
from django.utils.log import configure_logging
File "/usr/local/lib/python3.4/dist-packages/django/utils/log.py", line 13, in <module>
from django.views.debug import ExceptionReporter, get_exception_reporter_filter
File "/usr/local/lib/python3.4/dist-packages/django/views/debug.py", line 10, in <module>
from django.http import (HttpResponse, HttpResponseServerError,
File "/usr/local/lib/python3.4/dist-packages/django/http/__init__.py", line 4, in <module>
from django.http.response import (
File "/usr/local/lib/python3.4/dist-packages/django/http/response.py", line 13, in <module>
from django.core.serializers.json import DjangoJSONEncoder
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/__init__.py", line 23, in <module>
from django.core.serializers.base import SerializerDoesNotExist
File "/usr/local/lib/python3.4/dist-packages/django/core/serializers/base.py", line 6, in <module>
from django.db import models
File "/usr/local/lib/python3.4/dist-packages/django/db/models/__init__.py", line 8, in <module>
from django.db.models.manager import Manager # NOQA
File "/usr/local/lib/python3.4/dist-packages/django/db/models/manager.py", line 63, in <module>
class BaseManager(six.with_metaclass(RenameManagerMethods)):
File "/usr/local/lib/python3.4/dist-packages/django/utils/six.py", line 778, in __new__
return meta(name, bases, d)
File "/usr/local/lib/python3.4/dist-packages/django/utils/deprecation.py", line 50, in __new__
for base in inspect.getmro(new_class):
AttributeError: 'module' object has no attribute 'getmro'


I use Django 1.7.8 and Mezzanine 3 and tried upgrading and reinstalling them with no luck. Could anyone give a hint on what's wrong?







python django






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 17 '15 at 8:03









Ojomio

177110




177110







  • 3




    Try to Uninstall Django package with pip and re-install it. pip uninstall Django and pip install Django. Add also your settings.py, please
    – Louis Barranqueiro
    Nov 17 '15 at 8:16











  • What I understand from the docs is that you need version 4 for Django 1.7.8, and for version 3 you need Django 1.6
    – het.oosten
    Nov 17 '15 at 8:29












  • 3




    Try to Uninstall Django package with pip and re-install it. pip uninstall Django and pip install Django. Add also your settings.py, please
    – Louis Barranqueiro
    Nov 17 '15 at 8:16











  • What I understand from the docs is that you need version 4 for Django 1.7.8, and for version 3 you need Django 1.6
    – het.oosten
    Nov 17 '15 at 8:29







3




3




Try to Uninstall Django package with pip and re-install it. pip uninstall Django and pip install Django. Add also your settings.py, please
– Louis Barranqueiro
Nov 17 '15 at 8:16





Try to Uninstall Django package with pip and re-install it. pip uninstall Django and pip install Django. Add also your settings.py, please
– Louis Barranqueiro
Nov 17 '15 at 8:16













What I understand from the docs is that you need version 4 for Django 1.7.8, and for version 3 you need Django 1.6
– het.oosten
Nov 17 '15 at 8:29




What I understand from the docs is that you need version 4 for Django 1.7.8, and for version 3 you need Django 1.6
– het.oosten
Nov 17 '15 at 8:29












2 Answers
2






active

oldest

votes

















up vote
7
down vote



accepted










You have a local file called "inspect.py" that is shadowing the stdlib module. Name your file something else.






share|improve this answer




















  • You're right, yes, I found it out and wanted to write the answer but you had been faster.
    – Ojomio
    Nov 17 '15 at 10:10










  • I have the same problem and I don't have any local inspect.py file ...
    – Armita
    Nov 23 '15 at 8:28










  • @Armita this could be inspect.pyc then.
    – Sergey Fedoseev
    Dec 9 '15 at 15:46










  • That worked but how did you know?
    – Soroush Ghodsi
    Dec 31 '15 at 2:35

















up vote
2
down vote













django/utils/inspect.pyc is shadowing standard library inspect.py



django/utils/inspect.py was added in Django 1.9 and compiled binary file is left after you downgraded to 1.7.8






share|improve this answer




















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f33751859%2fdjango-wont-start-with-a-wierd-error-attributeerror-module-object-has-no-at%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    7
    down vote



    accepted










    You have a local file called "inspect.py" that is shadowing the stdlib module. Name your file something else.






    share|improve this answer




















    • You're right, yes, I found it out and wanted to write the answer but you had been faster.
      – Ojomio
      Nov 17 '15 at 10:10










    • I have the same problem and I don't have any local inspect.py file ...
      – Armita
      Nov 23 '15 at 8:28










    • @Armita this could be inspect.pyc then.
      – Sergey Fedoseev
      Dec 9 '15 at 15:46










    • That worked but how did you know?
      – Soroush Ghodsi
      Dec 31 '15 at 2:35














    up vote
    7
    down vote



    accepted










    You have a local file called "inspect.py" that is shadowing the stdlib module. Name your file something else.






    share|improve this answer




















    • You're right, yes, I found it out and wanted to write the answer but you had been faster.
      – Ojomio
      Nov 17 '15 at 10:10










    • I have the same problem and I don't have any local inspect.py file ...
      – Armita
      Nov 23 '15 at 8:28










    • @Armita this could be inspect.pyc then.
      – Sergey Fedoseev
      Dec 9 '15 at 15:46










    • That worked but how did you know?
      – Soroush Ghodsi
      Dec 31 '15 at 2:35












    up vote
    7
    down vote



    accepted







    up vote
    7
    down vote



    accepted






    You have a local file called "inspect.py" that is shadowing the stdlib module. Name your file something else.






    share|improve this answer












    You have a local file called "inspect.py" that is shadowing the stdlib module. Name your file something else.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 17 '15 at 8:28









    Daniel Roseman

    440k40572627




    440k40572627











    • You're right, yes, I found it out and wanted to write the answer but you had been faster.
      – Ojomio
      Nov 17 '15 at 10:10










    • I have the same problem and I don't have any local inspect.py file ...
      – Armita
      Nov 23 '15 at 8:28










    • @Armita this could be inspect.pyc then.
      – Sergey Fedoseev
      Dec 9 '15 at 15:46










    • That worked but how did you know?
      – Soroush Ghodsi
      Dec 31 '15 at 2:35
















    • You're right, yes, I found it out and wanted to write the answer but you had been faster.
      – Ojomio
      Nov 17 '15 at 10:10










    • I have the same problem and I don't have any local inspect.py file ...
      – Armita
      Nov 23 '15 at 8:28










    • @Armita this could be inspect.pyc then.
      – Sergey Fedoseev
      Dec 9 '15 at 15:46










    • That worked but how did you know?
      – Soroush Ghodsi
      Dec 31 '15 at 2:35















    You're right, yes, I found it out and wanted to write the answer but you had been faster.
    – Ojomio
    Nov 17 '15 at 10:10




    You're right, yes, I found it out and wanted to write the answer but you had been faster.
    – Ojomio
    Nov 17 '15 at 10:10












    I have the same problem and I don't have any local inspect.py file ...
    – Armita
    Nov 23 '15 at 8:28




    I have the same problem and I don't have any local inspect.py file ...
    – Armita
    Nov 23 '15 at 8:28












    @Armita this could be inspect.pyc then.
    – Sergey Fedoseev
    Dec 9 '15 at 15:46




    @Armita this could be inspect.pyc then.
    – Sergey Fedoseev
    Dec 9 '15 at 15:46












    That worked but how did you know?
    – Soroush Ghodsi
    Dec 31 '15 at 2:35




    That worked but how did you know?
    – Soroush Ghodsi
    Dec 31 '15 at 2:35












    up vote
    2
    down vote













    django/utils/inspect.pyc is shadowing standard library inspect.py



    django/utils/inspect.py was added in Django 1.9 and compiled binary file is left after you downgraded to 1.7.8






    share|improve this answer
























      up vote
      2
      down vote













      django/utils/inspect.pyc is shadowing standard library inspect.py



      django/utils/inspect.py was added in Django 1.9 and compiled binary file is left after you downgraded to 1.7.8






      share|improve this answer






















        up vote
        2
        down vote










        up vote
        2
        down vote









        django/utils/inspect.pyc is shadowing standard library inspect.py



        django/utils/inspect.py was added in Django 1.9 and compiled binary file is left after you downgraded to 1.7.8






        share|improve this answer












        django/utils/inspect.pyc is shadowing standard library inspect.py



        django/utils/inspect.py was added in Django 1.9 and compiled binary file is left after you downgraded to 1.7.8







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 24 '16 at 15:10









        Pawel Furmaniak

        2,68032232




        2,68032232



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f33751859%2fdjango-wont-start-with-a-wierd-error-attributeerror-module-object-has-no-at%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

            Edmonton

            Crossroads (UK TV series)