{"action":"created","issue":{"url":"https://api.github.com/repos/kipoi/kipoi/issues/330","repository_url":"https://api.github.com/repos/kipoi/kipoi","labels_url":"https://api.github.com/repos/kipoi/kipoi/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/kipoi/kipoi/issues/330/comments","events_url":"https://api.github.com/repos/kipoi/kipoi/issues/330/events","html_url":"https://github.com/kipoi/kipoi/issues/330","id":357757914,"node_id":"MDU6SXNzdWUzNTc3NTc5MTQ=","number":330,"title":"deepbind model (maybe others too) have unlisted dependencies","user":{"login":"lzamparo","id":1569186,"node_id":"MDQ6VXNlcjE1NjkxODY=","avatar_url":"https://avatars3.githubusercontent.com/u/1569186?v=4","gravatar_id":"","url":"https://api.github.com/users/lzamparo","html_url":"https://github.com/lzamparo","followers_url":"https://api.github.com/users/lzamparo/followers","following_url":"https://api.github.com/users/lzamparo/following{/other_user}","gists_url":"https://api.github.com/users/lzamparo/gists{/gist_id}","starred_url":"https://api.github.com/users/lzamparo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzamparo/subscriptions","organizations_url":"https://api.github.com/users/lzamparo/orgs","repos_url":"https://api.github.com/users/lzamparo/repos","events_url":"https://api.github.com/users/lzamparo/events{/privacy}","received_events_url":"https://api.github.com/users/lzamparo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-06T17:42:09Z","updated_at":"2018-09-06T20:32:55Z","closed_at":null,"author_association":"COLLABORATOR","body":"I'm finding that loading DeepBind models fail due to missing packages like `genomelake` (later Keras, possibly others):\r\n\r\n```\r\n(Pdb) l\r\n 34  \toutput_file = os.path.join(os.path.expanduser(output_prefix), outfile_name)\r\n 35\r\n 36  \t# Fetch the model with kipoi\r\n 37  \tprint(\"Trying to get model: \", model_id, flush=True)\r\n 38  \tpdb.set_trace()\r\n 39  ->\ttry:\r\n 40  \t\tmodel = kipoi.get_model(model_id)\r\n 41  \texcept:\r\n 42  \t\tprint(\"Failed to process model_id\")\r\n 43\r\n 44  \tprint(\"Loaded the model\", flush=True)\r\n(Pdb) n\r\n> /lila/home/zamparol/projects/revisions/deepbind/src/run_deepbind.py(40)<module>()\r\n-> model = kipoi.get_model(model_id)\r\n(Pdb) n\r\nAlready up-to-date.\r\nImportError: No module named 'genomelake'\r\n> /lila/home/zamparol/projects/revisions/deepbind/src/run_deepbind.py(40)<module>()\r\n-> model = kipoi.get_model(model_id)\r\n```\r\n\r\nI've installed using the instructions on `kipoi.org`, is there some other step prior to model instantiation I'm skipping which is leading to these unresolved dependencies? "},"comment":{"url":"https://api.github.com/repos/kipoi/kipoi/issues/comments/419231630","html_url":"https://github.com/kipoi/kipoi/issues/330#issuecomment-419231630","issue_url":"https://api.github.com/repos/kipoi/kipoi/issues/330","id":419231630,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTIzMTYzMA==","user":{"login":"Avsecz","id":10011161,"node_id":"MDQ6VXNlcjEwMDExMTYx","avatar_url":"https://avatars3.githubusercontent.com/u/10011161?v=4","gravatar_id":"","url":"https://api.github.com/users/Avsecz","html_url":"https://github.com/Avsecz","followers_url":"https://api.github.com/users/Avsecz/followers","following_url":"https://api.github.com/users/Avsecz/following{/other_user}","gists_url":"https://api.github.com/users/Avsecz/gists{/gist_id}","starred_url":"https://api.github.com/users/Avsecz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avsecz/subscriptions","organizations_url":"https://api.github.com/users/Avsecz/orgs","repos_url":"https://api.github.com/users/Avsecz/repos","events_url":"https://api.github.com/users/Avsecz/events{/privacy}","received_events_url":"https://api.github.com/users/Avsecz/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T20:32:55Z","updated_at":"2018-09-06T20:32:55Z","author_association":"COLLABORATOR","body":">  it seems clear that there may be model dependencies that CLI installs but Python ignores. Is this intentional?\r\n\r\nNot really. I forgot to add the dependency installation commands to python."}}
{"actor":{"display_login":"Avsecz"}}