module 'boto3' has no attribute 'client'

See original GitHub issue

I’m using python 3.5.1 and boto3==1.3.1

Python 3.5.1 (default, Jan 22 2016, 08:52:08) 
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin

This is what I get trying to run boto3

Traceback (most recent call last):
  File "test_cognito.py", line 7, in <module>
    client = boto3.client('cognito-identity')
AttributeError: module 'boto3' has no attribute 'client'

Any ideas?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
ghostcommented, May 11, 2016

Never mind. There was a file named boto3.py around with nothing inside it. Sorry my bad.

😃

Mod may delete/close

0reactions
parin13commented, Aug 14, 2020

I am using latest pip to install boto3, still getting the same issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Conda install fails: 'boto3' has no attribute 'client ... - GitHub
Current Behavior I updated scikit-learn using conda update scikit-learn which ran successfully. Full output $ conda update scikit-learn ...
Read more >
boto3 AttributeError: 'module' object has no attribute 'client'
Based on the discussion in comments, the issue turned out to be caused by a presence of some unwanted file:.
Read more >
Boto3 on Python Anywhere: Module object has no attribute ...
Boto3 on Python Anywhere: Module object has no attribute 'client'. Hi All - I'm following this tutorial: https://www.youtube ...
Read more >
[Solved] 'dynamodb' object has no attribute 'table' - Dynobase
This error occurs in the AWS Python SDK when obtaining a table resource using the DynamoDB "client" rather than the "resource." import boto3...
Read more >
Boto3 'Chime' object has no attribute 'create_app_instance'
Solved it by installing the latest boto3 as a dependency via pip install rather than using the 'default' included version of boto3 in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found