Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JosiasAurel/954b3ae03814bc7a1f19fc1d17281b8c to your computer and use it in GitHub Desktop.
Save JosiasAurel/954b3ae03814bc7a1f19fc1d17281b8c to your computer and use it in GitHub Desktop.

Dependencies

If you own a laptop, and you have Python and a code editor such as Visual Studio Code installed, I will need you to install a few dependencies that we will need for our WhatsApp bot project for the last class.

Please run the following commands in order to install the required dependencies

  • Install the OpenAI Python package (This will help us interact with ChatGPT/GPT-4)
pip3 install openai
  • Install the Twilio Python package (This is required in order for our bot to send text messages via SMS/WhatsApp)
pip3 install twilio
  • Install the Requests Python package (This is required in order to make miscellaneous requets)
pip3 install requests
  • Install the FastAPI Python package (This is required in order to handle web requests)
pip3 install fastapi
  • Install the Uvicorn Python package (This is required in order to run our web API)
pip3 install uvicorn

Note: If you're running a Unix Operating System such as MacOS or Linux, you may need to add the --break-system-packages flag at the end of each of those commands for the installation to be successful. If you're running Windows however, you won't need to worry about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment