Commit a2db773d by Rajeev Uppala

code added to install a package dateutil

parent 1e7678dd
Showing with 9 additions and 1 deletions
......@@ -7,7 +7,15 @@ from rasa_sdk.events import SlotSet
import re
from twilio.rest import Client
from datetime import datetime
from dateutil.parser import parse
import subprocess
import sys
try:
from dateutil.parser import parse
except ImportError:
subprocess.check_call([sys.executable, "-m", "pip", "install", 'dateutil'])
finally:
from dateutil.parser import parse
account_sid = "ACc460d692e5a467c60b352714b1416140"
auth_token = "bf2a890f36e3329b52d0516a14097623"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment