Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.
This repository was archived by the owner on May 13, 2025. It is now read-only.

ImportError: No module named access_token #14

@Prendo93

Description

@Prendo93

I followed the readme and got an error on startup.

It seems the twilio.jwt no longer has the access_token attribute

(venv) MacBook-Pro:video-quickstart-python user$ python app.py 
Traceback (most recent call last):
  File "app.py", line 4, in <module>
    from twilio.jwt.access_token import AccessToken
ImportError: No module named access_token

(venv) MacBook-Pro:video-quickstart-python user$ python
Python 2.7.13 (default, Dec 17 2016, 23:03:43) 
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import twilio.jwt
>>> dir(twilio.jwt)
['DecodeError', '__all__', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', 'b', 'base64', 'base64url_decode', 'base64url_encode', 'binary', 'decode', 'encode', 'hashlib', 'hmac', 'json', 'signing_methods', 'text_type']

I'm using twilio-6.3.dev0.tar.gz according to the pip logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions