Install the libraries for the Python course via the conda Python package system. Links to the libraries are provided only for reference.
To install a packaged via conda or pip:
-
open a terminal
-
type the listed commands
Install Tweepy:
pip install tweepy
These should be installed in conda by default. Otherwise install pandas, and sklearn:
conda install pandas -y
conda install scikit-learn -y
Follow the NLTK install instructions
Check if a library is installed by trying to import it into python.
- open a terminal
- type
python. Once in the interpreter, you should see>>>. - Check that the packages are installed by trying to import them. Type:
import tweepy
import pandas
import sklearn