#30215: `AttributeError: __spec__` on `./manage.py runserver` -------------------------------------+------------------------------------- Reporter: Flaviu Tamas | Owner: nobody Type: Bug | Status: new Component: Core (Management | Version: 2.2 commands) | Severity: Release blocker | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Flaviu Tamas): I should have done a better job presenting a reproducible case. 1. {{{pip install django==2.2b py}}} 2. {{{django-admin startproject mysite}}} 3. Add {{{import py}}} to the top of {{{mysite/mysite/urls.py}}} 4. {{{./manage.py runserver}}} and the error will show up. -- Ticket URL: <https://code.djangoproject.com/ticket/30215#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.2c5a9cf74bd8fe69619b4dff35f645d8%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.