|
| 1 | +{ |
| 2 | +"cells": [ |
| 3 | + { |
| 4 | +"cell_type":"markdown", |
| 5 | +"metadata": {}, |
| 6 | +"source": [ |
| 7 | +"# Jupyter Notebook Installation" |
| 8 | + ] |
| 9 | + }, |
| 10 | + { |
| 11 | +"cell_type":"markdown", |
| 12 | +"metadata": {}, |
| 13 | +"source": [ |
| 14 | +"## Install iPython\n", |
| 15 | +"Before class, please try to work through the following installation tutorial.\n", |
| 16 | +"\n", |
| 17 | +"If the following steps prove to be too troublesome for your computer, you can try using [this chrome extension](https://chrome.google.com/webstore/detail/colaboratory-notebook/pianggobfjcgeihlmfhfgkfalopndooo) instead.\n", |
| 18 | +"\n", |
| 19 | +"#### Mac\n", |
| 20 | +"From your terminal:" |
| 21 | + ] |
| 22 | + }, |
| 23 | + { |
| 24 | +"cell_type":"code", |
| 25 | +"execution_count":null, |
| 26 | +"metadata": { |
| 27 | +"collapsed":true |
| 28 | + }, |
| 29 | +"outputs": [], |
| 30 | +"source": [ |
| 31 | +"pip3 install ipython # this should already be installed, but just in case" |
| 32 | + ] |
| 33 | + }, |
| 34 | + { |
| 35 | +"cell_type":"markdown", |
| 36 | +"metadata": {}, |
| 37 | +"source": [ |
| 38 | +"#### Windows\n", |
| 39 | +"\n", |
| 40 | +"1. Install [setuptools](https://pypi.python.org/pypi/setuptools)\n", |
| 41 | +"2. Install [pyreadline](http://pypi.python.org/pypi/pyreadline)\n", |
| 42 | +"3. Install [ipython](http://ipython.org/download.html)" |
| 43 | + ] |
| 44 | + }, |
| 45 | + { |
| 46 | +"cell_type":"markdown", |
| 47 | +"metadata": {}, |
| 48 | +"source": [ |
| 49 | +"** If there are any missing dependencies, such as shown in the error below, install those, too. **" |
| 50 | + ] |
| 51 | + }, |
| 52 | + { |
| 53 | +"cell_type":"code", |
| 54 | +"execution_count":null, |
| 55 | +"metadata": { |
| 56 | +"collapsed":true |
| 57 | + }, |
| 58 | +"outputs": [], |
| 59 | +"source": [ |
| 60 | +"ImportError: No module named 'nose'" |
| 61 | + ] |
| 62 | + }, |
| 63 | + { |
| 64 | +"cell_type":"markdown", |
| 65 | +"metadata": {}, |
| 66 | +"source": [ |
| 67 | +"When you see errors such as the one above, you should try to pip install the missing module:" |
| 68 | + ] |
| 69 | + }, |
| 70 | + { |
| 71 | +"cell_type":"code", |
| 72 | +"execution_count":null, |
| 73 | +"metadata": { |
| 74 | +"collapsed":true |
| 75 | + }, |
| 76 | +"outputs": [], |
| 77 | +"source": [ |
| 78 | +"pip3 install nose" |
| 79 | + ] |
| 80 | + }, |
| 81 | + { |
| 82 | +"cell_type":"markdown", |
| 83 | +"metadata": {}, |
| 84 | +"source": [ |
| 85 | +"## Install Pandoc (for saving to PDF)\n", |
| 86 | +"Follow the instructions [here](http://pandoc.org/installing.html) to install PanDoc for your OS." |
| 87 | + ] |
| 88 | + }, |
| 89 | + { |
| 90 | +"cell_type":"markdown", |
| 91 | +"metadata": {}, |
| 92 | +"source": [ |
| 93 | +"## Install Graphics Modules" |
| 94 | + ] |
| 95 | + }, |
| 96 | + { |
| 97 | +"cell_type":"code", |
| 98 | +"execution_count":null, |
| 99 | +"metadata": { |
| 100 | +"collapsed":true |
| 101 | + }, |
| 102 | +"outputs": [], |
| 103 | +"source": [ |
| 104 | +"pip3 install matplotlib" |
| 105 | + ] |
| 106 | + }, |
| 107 | + { |
| 108 | +"cell_type":"code", |
| 109 | +"execution_count":null, |
| 110 | +"metadata": { |
| 111 | +"collapsed":true |
| 112 | + }, |
| 113 | +"outputs": [], |
| 114 | +"source": [ |
| 115 | +"pip3 install plotly" |
| 116 | + ] |
| 117 | + } |
| 118 | + ], |
| 119 | +"metadata": { |
| 120 | +"kernelspec": { |
| 121 | +"display_name":"Python 3", |
| 122 | +"language":"python", |
| 123 | +"name":"python3" |
| 124 | + }, |
| 125 | +"language_info": { |
| 126 | +"codemirror_mode": { |
| 127 | +"name":"ipython", |
| 128 | +"version":3 |
| 129 | + }, |
| 130 | +"file_extension":".py", |
| 131 | +"mimetype":"text/x-python", |
| 132 | +"name":"python", |
| 133 | +"nbconvert_exporter":"python", |
| 134 | +"pygments_lexer":"ipython3", |
| 135 | +"version":"3.5.2" |
| 136 | + } |
| 137 | + }, |
| 138 | +"nbformat":4, |
| 139 | +"nbformat_minor":2 |
| 140 | +} |