{"action":"created","issue":{"url":"https://api.github.com/repos/oemof/oemof/issues/189","repository_url":"https://api.github.com/repos/oemof/oemof","labels_url":"https://api.github.com/repos/oemof/oemof/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/oemof/oemof/issues/189/comments","events_url":"https://api.github.com/repos/oemof/oemof/issues/189/events","html_url":"https://github.com/oemof/oemof/issues/189","id":164864459,"number":189,"title":"Missing core module in oemof","user":{"login":"gplssm","id":8255114,"avatar_url":"https://avatars.githubusercontent.com/u/8255114?v=3","gravatar_id":"","url":"https://api.github.com/users/gplssm","html_url":"https://github.com/gplssm","followers_url":"https://api.github.com/users/gplssm/followers","following_url":"https://api.github.com/users/gplssm/following{/other_user}","gists_url":"https://api.github.com/users/gplssm/gists{/gist_id}","starred_url":"https://api.github.com/users/gplssm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gplssm/subscriptions","organizations_url":"https://api.github.com/users/gplssm/orgs","repos_url":"https://api.github.com/users/gplssm/repos","events_url":"https://api.github.com/users/gplssm/events{/privacy}","received_events_url":"https://api.github.com/users/gplssm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oemof/oemof/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/oemof/oemof/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-11T15:24:05Z","updated_at":"2016-09-12T08:18:50Z","closed_at":"2016-09-12T08:18:50Z","body":"I'm using oemof 0.0.8.dev0 and installed it via pip3 from the sources (used the flag `-e`). Since some time (I cannot exactly say what happend in between) I have an import error related to oemof.\r\n\r\nWhen I try to do `import oemof.core` I get an the error \r\n\r\n> AttributeError: 'module' object has no attribute 'core'\r\n\r\nMy guess is that oemof.db somehow overrides oemof in the pip index on my computer (this is very vague). How do I assume this?\r\n\r\n`import oemof` followed by `oemof.__path__` yields \r\n\r\n> ['.../git-repos/oemof.db/oemof']\r\n\r\nwhereas `import oemof.db` followed by `oemof.db.__path__` yields \r\n\r\n> ['.../git-repos/oemof.db/oemof/db']\r\n\r\nDoes someone has any clue on that?"},"comment":{"url":"https://api.github.com/repos/oemof/oemof/issues/comments/246279218","html_url":"https://github.com/oemof/oemof/issues/189#issuecomment-246279218","issue_url":"https://api.github.com/repos/oemof/oemof/issues/189","id":246279218,"user":{"login":"gplssm","id":8255114,"avatar_url":"https://avatars.githubusercontent.com/u/8255114?v=3","gravatar_id":"","url":"https://api.github.com/users/gplssm","html_url":"https://github.com/gplssm","followers_url":"https://api.github.com/users/gplssm/followers","following_url":"https://api.github.com/users/gplssm/following{/other_user}","gists_url":"https://api.github.com/users/gplssm/gists{/gist_id}","starred_url":"https://api.github.com/users/gplssm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gplssm/subscriptions","organizations_url":"https://api.github.com/users/gplssm/orgs","repos_url":"https://api.github.com/users/gplssm/repos","events_url":"https://api.github.com/users/gplssm/events{/privacy}","received_events_url":"https://api.github.com/users/gplssm/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T08:18:49Z","updated_at":"2016-09-12T08:18:49Z","body":"I guess I figured out the actual problem: oemof.db was appended to the PYTHONPATH and thus overwriting oemof, due to the same namespace. Removing oemof.db from PYTHONPATH solved the issue.\r\n\r\nThanks for support!"}}
{"actor":{"display_login":"gplssm"}}