Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EASY fix for all (at least, it should be the quickest way to get going these days) #319

Open
bezoris opened this issue Jan 17, 2017 · 2 comments

Comments

@bezoris
Copy link

bezoris commented Jan 17, 2017

A few things have broken in the years since this excellent book was released. After quite a bit of fiddling, the following is the easiest way I've found to get up and running.

First off: forget about the VM, configuring vagrant, ssh, installing pip, etc. There is an easier way...

  1. Head over to Jupyter.org/install/, the new iteration of the old 'iPython Notebook.'
  2. As recommended, install 'Anaconda.' Either via download or package manager (mine, AUR, is on version 4.2 as of this date).
  3. Install git if you haven't already and clone Matt's repo: https://github.com/ptwobrussell/Mining-the-Social-Web-2nd-Edition.git
  4. Initialize Anaconda [ source /opt/anaconda/bin/activate root ] and start the Jupyter server [ jupyter notebook ].
  5. Bring up a browser: localhost:8888 -- J-Notebook should load and show your home file system.
  6. All Appendix items and Recipes are in ~/.Mining-the-Social-Web-2nd-Edition/ipynb/
  • When opening chapter code you will see a message that the notebook has been upgraded from v3 to v4; disregard, or, if you are someone who worries about such things, simply don't save any edits.
  • ctrl-c kills the server and shuts down all associated kernels.

Best, Chris.

@rreben
Copy link

rreben commented Jan 24, 2017

@bezoris Thx!

This is an easy way to go!

Alternatively use basket4py to start anaconda and jupyter from a virtual guest machine via vagrant. Then just copy the notebooks (.ipynb - files) to the root directory.

@pseudostormy
Copy link

I worked for several hours trying to get everything up and running and this was solution that I was finally able to implement. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants