[Django]-Why do I get "ImportError: cannot import name find_spec" when I start a new Django project?

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.

What Python version can I use with Django?

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

Leave a comment