rjurney / Agile_Data_Code_2

Code for Agile Data Science 2.0, O'Reilly 2017, Second Edition
http://bit.ly/agile_data_science
MIT License
456 stars 307 forks source link

Bootstrap Install Fails on Jupyter Notebook Install #34

Closed jaykinghorn closed 7 years ago

jaykinghorn commented 7 years ago

When I try and install the dependencies using the Bootstrap.sh file, I keep getting hung up on the Jupyter Notebook install with the following error: [C 14:26:04.850 NotebookApp] Bad config encountered during initialization: [C 14:26:04.850 NotebookApp] Unrecognized flag: '--allow-root'

https://github.com/jupyter/notebook/issues/1539

A quick google search brings me to a similar error with Docker files, though I don't know where to go next to troubleshoot/resolve this.

Do you have any advice?

Thanks,

Jay

rjurney commented 7 years ago

You can remove the --allow-root argument and it should work.

In commit https://github.com/rjurney/Agile_Data_Code_2/commit/8f988fc5df93fe19e08dc8ba87e615fe80d49758 I added jupyter notebooks to the requirements.txt and set the version to 5.0.0, which does have --alow-root as an option. This should resolve the issue, please reopen if it does not.