cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Python sdk error import can't find client, etc.

Python sdk error import can't find client, etc.

friedcc
New member | Level 2

The cli_client.py script (downloaded in the examples with the SDK download from the Dropbox site) does not work.  I get the error:

 

from dropbox import client, rest, session
ImportError: cannot import name client

 

I have tried installing the SDK both with PIP and by running the setup. I have tried uninstalling it and re-installing it.  

 

Has the SDK changed so that the code in the example no longer works?  Where is the current documentation? Or the current SDK that matches the documentation?

 

Thanks for any help...

1 Reply 1

Greg-DB
Dropbox Staff

It sounds like you're looking at the old landing page for the Python SDK for API v1, which is now retired. (There's a deprecation warning at the top of that page with a link to more information.)

 

You can find the current page for the current version of the Python SDK here.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?