F
F
fandorin_official2019-08-04 22:32:58
Python
fandorin_official, 2019-08-04 22:32:58

Why AttributeError: module 'dropbox' has no attribute 'Dropbox'?

Using the Dropbox API documentation, when I try to run the program, I get
AttributeError: module 'dropbox' has no attribute 'Dropbox' .
The code is the following:

import dropbox
dbx = dropbox.Dropbox(token)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2019-08-04
@dimonchik2013

redefine something

import dropbox as dropbox1
dbx = dropbox1.Dropbox(token)

or check the latest version

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question