One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
friedcc
7 years agoNew member | Level 2
Python sdk error import can't find client, etc.
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...
- 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.
About Discuss Dropbox Developer & API
Make connections with other developers804 PostsLatest Activity: 3 days ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!