<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Feb 7, 2015 at 8:34 AM, John Omernik <span dir="ltr"><<a href="mailto:john@omernik.com" target="_blank">john@omernik.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">After more research (not in the jupyter docs) I realized that the link<br>
Wes provided actually contradicts the Jupyter Hub documentation. Hence<br>
why I posted. For anyone having issues with the Jupyter Docs, you<br>
nodejs-legacy doesn't work on Ubuntu 12.04, so you have to add the PPA<br>
in the link Wes provided.  However then, there is a note about apt-get<br>
install npm, which will not work with the PPA Wes provided, because of<br>
a version conflict and because npm is included in the nodejs package<br>
from Wes' link.<br>
<br>
Wes: Appreciate the reply, but I think the documentation could use<br>
some work, and throwing links at people who ask questions based on the<br>
current documentation may produce more frustration especially when the<br>
links you provide don't line up with the documentation the user is<br>
trying to install.  I am not upset, I am just pointing out that some<br>
users may get frustrated (I am not one of those, but I have worked<br>
with many like that).<br></blockquote><div><br></div><div>The jupyterhub docs are a wiki, so do please contribute and add to those.</div><div><br></div><div>Jupyterhub is a bit different from other IPython projects in that it can be an exposed server application. Deploying it incorrectly can open your system up in unwanted ways.  On one hand, one needs to have some experience in running a web server.</div><div><br></div><div>On the other hand, it is also "fairly easy" to get setup for us non-admins. However, there are a million variations depending on OS and local setup.</div><div><br></div><div>So, the docs will never be complete. I think I good goal would be to make it as comprehensive as possible for a limited set of standard operating systems/distributions. I suggest targeting Ubuntu 14.04 Long Term Service (LTS) for documentation would be a good compromise. Of course, it could be deployed in many more ways, but having a single well-documented example might provide hints for others.</div><div><br></div><div>-Doug</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks!<br>
<span class="HOEnZb"><font color="#888888"><br>
John<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Sat, Feb 7, 2015 at 4:55 AM, John Omernik <<a href="mailto:john@omernik.com">john@omernik.com</a>> wrote:<br>
> As a follow-up, I did the above top link to install repository, now<br>
> when I try to do npm, I get:<br>
><br>
> sudo apt-get install npm<br>
><br>
> Reading package lists... Done<br>
><br>
> Building dependency tree<br>
><br>
> Reading state information... Done<br>
><br>
> Some packages could not be installed. This may mean that you have<br>
><br>
> requested an impossible situation or if you are using the unstable<br>
><br>
> distribution that some required packages have not yet been created<br>
><br>
> or been moved out of Incoming.<br>
><br>
> The following information may help to resolve the situation:<br>
><br>
><br>
> The following packages have unmet dependencies:<br>
><br>
>  npm : Depends: nodejs but it is not going to be installed<br>
><br>
>        Depends: nodejs-dev<br>
><br>
>        Depends: node-request but it is not going to be installed<br>
><br>
>        Depends: node-mkdirp but it is not going to be installed<br>
><br>
>        Depends: node-minimatch but it is not going to be installed<br>
><br>
>        Depends: node-semver but it is not going to be installed<br>
><br>
>        Depends: node-ini but it is not going to be installed<br>
><br>
>        Depends: node-graceful-fs but it is not going to be installed<br>
><br>
>        Depends: node-abbrev but it is not going to be installed<br>
><br>
>        Depends: node-nopt but it is not going to be installed<br>
><br>
>        Depends: node-fstream but it is not going to be installed<br>
><br>
>        Depends: node-rimraf but it is not going to be installed<br>
><br>
>        Depends: node-tar but it is not going to be installed<br>
><br>
>        Depends: node-which but it is not going to be installed<br>
><br>
> E: Unable to correct problems, you have held broken packages.<br>
><br>
><br>
><br>
> On Sat, Feb 7, 2015 at 4:52 AM, John Omernik <<a href="mailto:john@omernik.com">john@omernik.com</a>> wrote:<br>
>> Thank you Wes I am trying that.<br>
>><br>
>> That said, when the documentation says do this "nodejs-legacy" and it<br>
>> doesn't work, as an end user you wonder "well, wait, that isn't what I<br>
>> was told to install, yes I could just install from this other<br>
>> repository,but  that isn't what the documentation calls for, but will<br>
>> it be what the Jupyter Hub requires? Will it sorta work and possibly<br>
>> provide me other issues that I have to spend time on, etc.   Just an<br>
>> observation as an end user.<br>
>><br>
>> On Fri, Feb 6, 2015 at 11:03 PM, Wes Turner <<a href="mailto:wes.turner@gmail.com">wes.turner@gmail.com</a>> wrote:<br>
>>> <a href="https://github.com/joyent/node/wiki/installing-node.js-via-package-manager" target="_blank">https://github.com/joyent/node/wiki/installing-node.js-via-package-manager</a><br>
>>><br>
>>> <a href="https://github.com/saltstack-formulas/node-formula" target="_blank">https://github.com/saltstack-formulas/node-formula</a><br>
>>><br>
>>> <a href="https://docs.docker.com/installation/ubuntulinux/#ubuntu-precise-1204-lts-64-bit" target="_blank">https://docs.docker.com/installation/ubuntulinux/#ubuntu-precise-1204-lts-64-bit</a><br>
>>><br>
>>> <a href="https://registry.hub.docker.com/u/jupyter/jupyterhub/" target="_blank">https://registry.hub.docker.com/u/jupyter/jupyterhub/</a><br>
>>><br>
>>> On Feb 6, 2015 9:00 PM, "John Omernik" <<a href="mailto:john@omernik.com">john@omernik.com</a>> wrote:<br>
>>>><br>
>>>> In the Jupyter Hub, there's<br>
>>>><br>
>>>> JupyterHub requires IPython >= 3.0 (current master) and Python >= 3.3.<br>
>>>><br>
>>>> You will need nodejs/npm, which you can get from your package manager:<br>
>>>><br>
>>>> sudo apt-get install npm nodejs-legacy<br>
>>>><br>
>>>> (The nodejs-legacy package installs the node executable, which is<br>
>>>> required for npm to work on Debian/Ubuntu at this point)<br>
>>>><br>
>>>> Then install javascript dependencies:<br>
>>>><br>
>>>><br>
>>>> However, I am running Ubuntu 12.04, and there is no nodejs-legacy.<br>
>>>> How do I meet that requirement?<br>
>>>><br>
>>>> Thanks!<br>
>>>> _______________________________________________<br>
>>>> IPython-dev mailing list<br>
>>>> <a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
>>>> <a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> IPython-dev mailing list<br>
>>> <a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
>>> <a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
>>><br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</div></div></blockquote></div><br></div></div>