Perform simple sentiment analysis on subreddit posts.
Create & activate new virtual environment
$ python3 -m venv venv
$ . venv/bin/activate
Install the requirements
$ pip install -r requirements.txt
Or install the latest versions (-U
for upgrade):
$ pip install -U -r requirements.txt
Create an .env
file
Copy .env.example
file and replace with your keys.
$ python program_name.py
Useful for debugging, for example, to see which packages are needed and which are not. This is just a helpful note for myself.
$ pip uninstall -y -r <(pip freeze)