Jan-21-2019, 06:58 PM
Hello,
I am trying to install plivoxml but no successful.
The code I am trying to run is as follows, I got it from the net.
.
I am trying to install plivoxml but no successful.
sudo pip3 install plivoxml The directory '/home/uma/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/uma/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting plivoxml Could not find a version that satisfies the requirement plivoxml (from versions: ) No matching distribution found for plivoxml
The code I am trying to run is as follows, I got it from the net.
.
cat calls.py import plivo, plivoxml import plivo auth_id = "deepak" auth_token = "Deep" p = plivo.RestAPI(auth_id, auth_token) params = { 'to': '919765032993', # The phone numer to which the call will be placed 'from' : '919823848822', # The phone number to be used as the caller id # answer_url is the URL invoked by Plivo when the outbound call is answered # and contains instructions telling Plivo what to do with the call 'answer_url' : "https://s3.amazonaws.com/static.plivo.com/answer.xml", 'answer_method' : "GET", # The method used to call the answer_url # Example for asynchronous request # callback_url is the URL to which the API response is sent. #'callback_url' => "http://myvoiceapp.com/callback/", #'callback_method' => "GET" # The method used to notify the callback_url. } # Make an outbound call and print the response response = p.make_call(params) print (response)Also is there any teaching/ tutorial site for a beginner in Python?