Fix ImportError: cannot import name find_spec

find_spec isn't available in Python 3.3; it was added in Python 3.4.
This commit is contained in:
Balakrishnan 2016-05-27 04:27:24 -04:00 committed by Balakrishnan S
parent c3ebdac547
commit 3cf1378da5
1 changed files with 2 additions and 2 deletions

View File

@ -105,8 +105,8 @@ Templates give you full control of each component of your application.
Sometimes your application is simple enough and you don't want to bother with templates. In that case, you can let OpenShift inspect your source code and create the required components automatically for you:
```bash
$ oc new-app openshift/python-33-centos7~https://github.com/openshift/django-ex
imageStreams/python-33-centos7
$ oc new-app centos/python-35-centos7~https://github.com/openshift/django-ex
imageStreams/python-35-centos7
imageStreams/django-ex
buildConfigs/django-ex
deploymentConfigs/django-ex