1

I am trying to install twilio library of python.
I am using Python 3.9.0.
I am getting this error while installing using $pip install twilio

cwd: C:\Users\Hako.exe\AppData\Local\Temp\pip-install-3_94inxo\twilio_b6ce88d849044082897f2df4f381a271\
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\users\hako.exe\appdata\local\programs\python\python39\lib\site-packages\setuptools\__init__.py", line 12, in <module>
        from setuptools.extension import Extension
      File "c:\users\hako.exe\appdata\local\programs\python\python39\lib\site-packages\setuptools\extension.py", line 7, in <module>
        from setuptools.dist import _get_unpatched
      File "c:\users\hako.exe\appdata\local\programs\python\python39\lib\site-packages\setuptools\dist.py", line 16, in <module>
        import pkg_resources
      File "c:\users\hako.exe\appdata\local\programs\python\python39\lib\site-packages\pkg_resources.py", line 1479, in <module>
        register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
    AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'

what i can see is that at last it is showing importlib._bootstrap has no attribute SourceFileLoader. don't know how to resolve this issue. anyone can help me with this?

Thanks in for your help in advance

0 Answers0