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?
print(dropbox.__file__)after the import statement. That's two underscores on either side offile. It will tell you what file is being imported. Most likely, the file you're importing is not the actual dropbox module, but something else.