cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Check out the Dropbox cheat sheet for getting started in 2021 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.

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.

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.

Polls
Are you starting new work habits this year?

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?