Simple Rule based chatbot can be created by plain python without any library where you can control the statements and intents. And to create a more dynamic chatbot you can make use of NLTK library and also a dialogflow.