{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker-registry/issues/1048","labels_url":"https://api.github.com/repos/docker/docker-registry/issues/1048/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker-registry/issues/1048/comments","events_url":"https://api.github.com/repos/docker/docker-registry/issues/1048/events","html_url":"https://github.com/docker/docker-registry/issues/1048","id":123410612,"number":1048,"title":"help:ImportError: No module named core","user":{"login":"617726909","id":546604,"avatar_url":"https://avatars.githubusercontent.com/u/546604?v=3","gravatar_id":"","url":"https://api.github.com/users/617726909","html_url":"https://github.com/617726909","followers_url":"https://api.github.com/users/617726909/followers","following_url":"https://api.github.com/users/617726909/following{/other_user}","gists_url":"https://api.github.com/users/617726909/gists{/gist_id}","starred_url":"https://api.github.com/users/617726909/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/617726909/subscriptions","organizations_url":"https://api.github.com/users/617726909/orgs","repos_url":"https://api.github.com/users/617726909/repos","events_url":"https://api.github.com/users/617726909/events{/privacy}","received_events_url":"https://api.github.com/users/617726909/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-22T04:34:12Z","updated_at":"2015-12-22T05:12:43Z","closed_at":null,"body":"root@iZ28zeay8xfZ:/alidata/docker/data/docker-registry# gunicorn -c contrib/gunicorn.py docker_registry.wsgi:application\r\n2015-12-22 12:32:47 [23028] [INFO] Starting gunicorn 0.13.4\r\n2015-12-22 12:32:47 [23028] [INFO] Listening at: http://127.0.0.1:8000 (23028)\r\n2015-12-22 12:32:47 [23028] [INFO] Using worker: sync\r\n2015-12-22 12:32:47 [23031] [INFO] Booting worker with pid: 23031\r\n2015-12-22 12:32:47 [23031] [ERROR] Exception in worker process:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/pymodules/python2.7/gunicorn/arbiter.py\", line 456, in spawn_worker\r\n    worker.init_process()\r\n  File \"/usr/lib/pymodules/python2.7/gunicorn/workers/base.py\", line 100, in init_process\r\n    self.wsgi = self.app.wsgi()\r\n  File \"/usr/lib/pymodules/python2.7/gunicorn/app/base.py\", line 101, in wsgi\r\n    self.callable = self.load()\r\n  File \"/usr/lib/pymodules/python2.7/gunicorn/app/wsgiapp.py\", line 24, in load\r\n    return util.import_app(self.app_uri)\r\n  File \"/usr/lib/pymodules/python2.7/gunicorn/util.py\", line 241, in import_app\r\n    __import__(module)\r\n  File \"/usr/local/lib/python2.7/dist-packages/docker_registry-1.0.0_dev-py2.7.egg/docker_registry/wsgi.py\", line 19, in <module>\r\n    from .app import app  # noqa\r\n  File \"/usr/local/lib/python2.7/dist-packages/docker_registry-1.0.0_dev-py2.7.egg/docker_registry/app.py\", line 8, in <module>\r\n    from . import toolkit\r\n  File \"/usr/local/lib/python2.7/dist-packages/docker_registry-1.0.0_dev-py2.7.egg/docker_registry/toolkit.py\", line 18, in <module>\r\n    from docker_registry.core import compat\r\nImportError: No module named core\r\n2015-12-22 12:32:47 [23031] [INFO] Worker exiting (pid: 23031)\r\n2015-12-22 12:32:48 [23028] [INFO] Shutting down: Master\r\n2015-12-22 12:32:48 [23028] [INFO] Reason: Worker failed to boot.\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker-registry/issues/comments/166507540","html_url":"https://github.com/docker/docker-registry/issues/1048#issuecomment-166507540","issue_url":"https://api.github.com/repos/docker/docker-registry/issues/1048","id":166507540,"user":{"login":"dmp42","id":332946,"avatar_url":"https://avatars.githubusercontent.com/u/332946?v=3","gravatar_id":"","url":"https://api.github.com/users/dmp42","html_url":"https://github.com/dmp42","followers_url":"https://api.github.com/users/dmp42/followers","following_url":"https://api.github.com/users/dmp42/following{/other_user}","gists_url":"https://api.github.com/users/dmp42/gists{/gist_id}","starred_url":"https://api.github.com/users/dmp42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmp42/subscriptions","organizations_url":"https://api.github.com/users/dmp42/orgs","repos_url":"https://api.github.com/users/dmp42/repos","events_url":"https://api.github.com/users/dmp42/events{/privacy}","received_events_url":"https://api.github.com/users/dmp42/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T05:12:43Z","updated_at":"2015-12-22T05:12:43Z","body":"At least pip install it if you don't want to use the official container. Or python setup.py install\r\n\r\nEither way, I strongly encourage you to look into docker/distribution instead.\r\n\r\nHope that helps."}}