Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7083111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:08:17+00:00 2026-05-28T07:08:17+00:00

I am having the same problem as this thread regarding twilio-python : twilio.rest missing

  • 0

I am having the same problem as this thread regarding twilio-python:

twilio.rest missing from twilio python module version 2.0.8?

However I have the same problem but I have 3.3.3 installed. I still get “No module named rest” when trying to import twilio.rest.

Loading the library from stand alone python script works. So I know that pip installing the package worked.

from twilio.rest import TwilioRestClient


def main():
    account = "xxxxxxxxxxxxxxxx"
    token = "xxxxxxxxxxxxxxxx"
    client = TwilioRestClient(account, token)

    call = client.calls.create(to="+12223344", 
                               from_="+12223344", 
                               url="http://ironblanket.herokuapp.com/",
                               method="GET") 

if __name__ == "__main__":
    main()

but this does not work:

from twilio.rest import TwilioRestClient


def home(request):
    client = TwilioRestClient(account, token)

Do you have any idea what I can try next?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T07:08:17+00:00Added an answer on May 28, 2026 at 7:08 am

    I named a python file in my project twilio.py. Since that file was loaded first, then subsequent calls to load twilio would reference that file instead of the twilio library.

    TLDR: just don’t name your python file twilio.py

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I seem to have exactly the same problem as this person: http://forums.adobe.com/thread/618752 He also
I am having the same problem as this post but the answer does not
Good day everyone. I have been having the same problem all day at work
I actually have two questions regarding the same problem but I think it is
Edit 1: Uninstalled & Reinstalled Edit 2: Same problem. Seriously? Yes. I am having
I'm having a problem installing SAM 1.1.0 on fedora 16 same as here https://bugs.php.net/bug.php?id=59632&thanks=6
I have a self-hosted WCF service and I'm having the following problem: 15 minutes
I have a complex table pulled from a multi-ActiveRecord object array. This listing is
I have this problem: I have a collection of small files that are about
I am having a problem when issuing many requests to the same web service

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.