{"action":"created","issue":{"url":"https://api.github.com/repos/conda-forge/widgetsnbextension-feedstock/issues/15","repository_url":"https://api.github.com/repos/conda-forge/widgetsnbextension-feedstock","labels_url":"https://api.github.com/repos/conda-forge/widgetsnbextension-feedstock/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/conda-forge/widgetsnbextension-feedstock/issues/15/comments","events_url":"https://api.github.com/repos/conda-forge/widgetsnbextension-feedstock/issues/15/events","html_url":"https://github.com/conda-forge/widgetsnbextension-feedstock/issues/15","id":178561103,"number":15,"title":"post-link.sh assumes jupyter notebook and kernel are the same","user":{"login":"garth-wells","id":3431333,"avatar_url":"https://avatars.githubusercontent.com/u/3431333?v=3","gravatar_id":"","url":"https://api.github.com/users/garth-wells","html_url":"https://github.com/garth-wells","followers_url":"https://api.github.com/users/garth-wells/followers","following_url":"https://api.github.com/users/garth-wells/following{/other_user}","gists_url":"https://api.github.com/users/garth-wells/gists{/gist_id}","starred_url":"https://api.github.com/users/garth-wells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garth-wells/subscriptions","organizations_url":"https://api.github.com/users/garth-wells/orgs","repos_url":"https://api.github.com/users/garth-wells/repos","events_url":"https://api.github.com/users/garth-wells/events{/privacy}","received_events_url":"https://api.github.com/users/garth-wells/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-22T09:26:07Z","updated_at":"2016-10-25T19:52:02Z","closed_at":null,"body":"The line \r\n\r\n    \"${PREFIX}/bin/jupyter-nbextension\" enable widgetsnbextension --py --sys-prefix > /dev/null 2>&1\r\n\r\nin `/post-link.sh` (see https://github.com/conda-forge/widgetsnbextension-feedstock/blob/master/recipe/post-link.sh) assumes that the Anaconda version of the notebook is being run, hence the flag `-sys-prefix` is used.\r\n\r\nThis fails to enable ipywidgets if a notebook is using an Anaconda kernel, but jupyter is run from elsewhere.  I hit this problem on https://notebooks.azure.com/, where the notebook is launched from `/usr/local`, and Anaconda is used for kernels (`/home/nbuser/anaconda3_410` and `/home/nbuser/anaconda2_410`).\r\n\r\nTo reproduce on https://notebooks.azure.com/\r\n\r\n1. Run\r\n\r\n        !conda install -y -c conda-forge ipywidgets\r\n\r\n  and reload page. 'Widgets' will not appear in the menu bar.\r\n\r\n1.  Run\r\n\r\n        !jupyter-nbextension\" enable widgetsnbextension --py\r\n\r\n  and reload, and the 'Widgets' menu will  appear in the menu bar."},"comment":{"url":"https://api.github.com/repos/conda-forge/widgetsnbextension-feedstock/issues/comments/256156492","html_url":"https://github.com/conda-forge/widgetsnbextension-feedstock/issues/15#issuecomment-256156492","issue_url":"https://api.github.com/repos/conda-forge/widgetsnbextension-feedstock/issues/15","id":256156492,"user":{"login":"jakirkham","id":3019665,"avatar_url":"https://avatars.githubusercontent.com/u/3019665?v=3","gravatar_id":"","url":"https://api.github.com/users/jakirkham","html_url":"https://github.com/jakirkham","followers_url":"https://api.github.com/users/jakirkham/followers","following_url":"https://api.github.com/users/jakirkham/following{/other_user}","gists_url":"https://api.github.com/users/jakirkham/gists{/gist_id}","starred_url":"https://api.github.com/users/jakirkham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakirkham/subscriptions","organizations_url":"https://api.github.com/users/jakirkham/orgs","repos_url":"https://api.github.com/users/jakirkham/repos","events_url":"https://api.github.com/users/jakirkham/events{/privacy}","received_events_url":"https://api.github.com/users/jakirkham/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T19:52:02Z","updated_at":"2016-10-25T19:52:02Z","body":"We could add a Readme to the recipe I guess. Though must say, I would also have liked to solve this problem somehow."}}
{"actor":{"display_login":"jakirkham"}}