{"action":"opened","issue":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1738","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1738/labels{/name}","comments_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1738/comments","events_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1738/events","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1738","id":123473149,"number":1738,"title":"No module named locmem","user":{"login":"uayyappa","id":8412912,"avatar_url":"https://avatars.githubusercontent.com/u/8412912?v=3","gravatar_id":"","url":"https://api.github.com/users/uayyappa","html_url":"https://github.com/uayyappa","followers_url":"https://api.github.com/users/uayyappa/followers","following_url":"https://api.github.com/users/uayyappa/following{/other_user}","gists_url":"https://api.github.com/users/uayyappa/gists{/gist_id}","starred_url":"https://api.github.com/users/uayyappa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uayyappa/subscriptions","organizations_url":"https://api.github.com/users/uayyappa/orgs","repos_url":"https://api.github.com/users/uayyappa/repos","events_url":"https://api.github.com/users/uayyappa/events{/privacy}","received_events_url":"https://api.github.com/users/uayyappa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-22T12:25:36Z","updated_at":"2015-12-22T12:25:36Z","closed_at":null,"body":"When i am executing the django project with \r\n\r\nmysite.exe runserver localhost:8080\r\n\r\nI am getting the following error.\r\n\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 10, in <module>\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\core\\management\\__init__.py\", line\r\n399, in execute_from_command_line\r\n    utility.execute()\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\core\\management\\__init__.py\", line\r\n392, in execute\r\n    self.fetch_command(subcommand).run_from_argv(self.argv)\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\core\\management\\base.py\", line 242,\r\n in run_from_argv\r\n    self.execute(*args, **options.__dict__)\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\core\\management\\base.py\", line 280,\r\n in execute\r\n    translation.activate('en-us')\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\__init__.py\", lin\r\ne 130, in activate\r\n    return _trans.activate(language)\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py\", l\r\nine 188, in activate\r\n    _active.value = translation(language)\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py\", l\r\nine 177, in translation\r\n    default_translation = _fetch(settings.LANGUAGE_CODE)\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py\", l\r\nine 159, in _fetch\r\n    app = import_module(appname)\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\utils\\importlib.py\", line 40, in im\r\nport_module\r\n    __import__(name)\r\n  File \"c:\\python27\\lib\\site-packages\\PyInstaller-3.1.dev0-py2.7.egg\\PyInstaller\r\n\\loader\\pyimod03_importers.py\", line 382, in load_module\r\n    exec(bytecode, module.__dict__)\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\contrib\\auth\\__init__.py\", line 6,\r\nin <module>\r\n    from django.middleware.csrf import rotate_token\r\n  File \"c:\\python27\\lib\\site-packages\\PyInstaller-3.1.dev0-py2.7.egg\\PyInstaller\r\n\\loader\\pyimod03_importers.py\", line 382, in load_module\r\n    exec(bytecode, module.__dict__)\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\middleware\\csrf.py\", line 14, in <m\r\nodule>\r\n    from django.utils.cache import patch_vary_headers\r\n  File \"c:\\python27\\lib\\site-packages\\PyInstaller-3.1.dev0-py2.7.egg\\PyInstaller\r\n\\loader\\pyimod03_importers.py\", line 382, in load_module\r\n    exec(bytecode, module.__dict__)\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\utils\\cache.py\", line 26, in <modul\r\ne>\r\n    from django.core.cache import get_cache\r\n  File \"c:\\python27\\lib\\site-packages\\PyInstaller-3.1.dev0-py2.7.egg\\PyInstaller\r\n\\loader\\pyimod03_importers.py\", line 382, in load_module\r\n    exec(bytecode, module.__dict__)\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\core\\cache\\__init__.py\", line 138,\r\nin <module>\r\n    cache = get_cache(DEFAULT_CACHE_ALIAS)\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\core\\cache\\__init__.py\", line 130,\r\nin get_cache\r\n    \"Could not find backend '%s': %s\" % (backend, e))\r\ndjango.core.cache.backends.base.InvalidCacheBackendError: Could not find backend\r\n 'django.core.cache.backends.locmem.LocMemCache': Error importing module django.\r\ncore.cache.backends.locmem: \"No module named locmem\"\r\nmanage returned -1"}}