see how to install a virtualenv if you do not have it on your machine.
How to install virtualenv on Mac
https://sourabhbajaj.com/mac-setup/Python/virtualenv.html
- Create a credential file as well as enable to youtube API on your google console. Check the following link for more info
https://developers.google.com/explorer-help/guides/code_samples#python
Once you have the credential file, named credentials.json
in the same directory as the script
run the script locally:
- $ virtualenv --python python3.7 vm
- $ source vm/bin/activate
- $ pip install -r requirements.txt