Reputation: 11773
I am now using Python to download files from Dropbox, and I following this tutorial. However, it did not succeed on the first two lines of codes:
import dropbox
dbx = dropbox.Dropbox('YOUR_ACCESS_TOKEN')
My Python complains that AttributeError: 'module' object has no attribute 'Dropbox'
Any ideas?
Upvotes: 1
Views: 827
Reputation: 11773
After careful examination, I found the reason is because I am using functions from dropbox-v2 while in my machine dropbox-v1 was installed.
Upvotes: 1