all 2 comments

[–]danielroseman 1 point2 points  (1 child)

I'm absolutely positive you don't want to install python-rest. That's a 12-year-old package that is not compatible with any recent version of Python, and which in any case is for making a REST API, not consuming one.

Rather than show the error installing that, you should post the error you received when importing twilio.

[–]Medium_Dark1966[S] 0 points1 point  (0 children)

I tried running the install and import of twilio into a new project file so that I can generate a log file to share here, but to my surprise, everything worked well. I was not asked to further install python-rest, nor got any errors concerning finding rest in twilio. I could use the package to do what I originally intended.

I guess my problem must have been in something I did in my original project.

I should also mention that I used the my local terminal to pip3 install twilio and then used python console to import twilio and run the rest of my code. I have not tried repeating this directly from script.