#!/usr/bin/env python # coding: utf-8 # # Installing Prerequisite Python Packages # # If you are running these notebooks on [Binder](https://mybinder.org), then there is no need to run this notebook. However, if you running these notebook on your own computer or on a different service, then the necessary Python packages may not be installed. # # By executing (Shift-Enter) the code cells below, you will instruct `pip` (a Python package manager) to install the necessary packages. # In[ ]: # Basic packages for doing data analysis get_ipython().system('pip install numpy matplotlib pandas') # In[ ]: # Libraries necessary for accessing Yahoo Finance get_ipython().system('pip install yahoo_fin requests_html') # In[ ]: # A Python package for interfacing with Twitter's API get_ipython().system('pip install twitter') # In[ ]: # Make nicer text-based tables get_ipython().system('pip install prettytable') # In[ ]: # The Natural Language Toolkit get_ipython().system('pip install nltk') # In[ ]: # For parsing HTML get_ipython().system('pip install beautifulsoup4') # In[ ]: # For accessing and parsing RSS feeds get_ipython().system('pip install feedparser') # In[ ]: # Small, fast HTTP client get_ipython().system('pip install httplib2') # In[ ]: # A prerequisite for dragnet get_ipython().system('pip install cython') # In[ ]: # Using machine learning for distinguishing main webpage content from boilerplate get_ipython().system('pip install dragnet') # In[ ]: # The premier machine learning library for Python get_ipython().system('pip install scikit-learn')