31👍
find_spec
isn’t available in Python 3.2.3; it was added in Python 3.4.
Try upgrading to 3.4 or later.
3👍
The version of Django you’re using (v1.9.1) cannot be used with Python 3.2. Hence, @KarthiG and @MUNGAI NJOROGE are correct, and now you know why.
- [Django]-Django model default sort order using related table field
- [Django]-How do I override delete() on a model and have it still work with related deletes
- [Django]-Make clicked tab active in Bootstrap
0👍
I got the same problem with docker containers.
find_spec is not available when using Docker containers and django 1.9 and python:3.3 dependency.
Adding the line below in your docker image as a dependency works.
FROM python:3.4
- [Django]-Django return redirect() with parameters
- [Django]-Django-debug-toolbar not showing up
- [Django]-Django-orm case-insensitive order by
Source:stackexchange.com