Hi,
for some reason Django app fails to load on Openshift (it works on my localhost)
./manage.py shell
Traceback (most recent call last):
File "./manage.py", line 14, in <module>
execute_from_command_line(sys.argv)
File "/var/lib/openshift/UUID/python/virtenv/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
utility.execute()
File "/var/lib/openshift/UUID/python/virtenv/lib/python2.7/site-packages/django/core/management/__init__.py", line 328, in execute
django.setup()
File "/var/lib/openshift/UUID/python/virtenv/lib/python2.7/site-packages/django/__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/var/lib/openshift/UUID/python/virtenv/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/var/lib/openshift/UUID/python/virtenv/lib/python2.7/site-packages/django/apps/config.py", line 86, in create
module = import_module(entry)
File "/opt/rh/python27/root/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/var/lib/openshift/UUID/python/virtenv/lib/python2.7/site-packages/django_imagekit-4.0-py2.7.egg/imagekit/__init__.py", line 3, in <module>
from . import generatorlibrary
File "/var/lib/openshift/UUID/python/virtenv/lib/python2.7/site-packages/django_imagekit-4.0-py2.7.egg/imagekit/generatorlibrary.py", line 3, in <module>
from .specs import ImageSpec
File "/var/lib/openshift/UUID/python/virtenv/lib/python2.7/site-packages/django_imagekit-4.0-py2.7.egg/imagekit/specs/__init__.py", line 5, in <module>
from ..cachefiles.strategies import load_strategy
ImportError: cannot import name load_strategy
Hi, for some reason Django app fails to load on Openshift (it works on my localhost)
This is
pip freeze
:Any idea why there is ImportError? I have not found similar issue.