cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Whether you are transferring a single drive, a team or an entire organization, Movebot's cloud migration tool has been built to make your Dropbox migration simple - learn all about it 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

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

Greg-DB
Dropboxer

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.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?