i tried using this code, but it says ModuleNotFoundError: No module named 'bitbucket', allthough i've installed the bit bucket api
from bitbucket.bitbucket importBitbucket
>>>USERNAME = 'CCC'
>>>PASSWORD = 'BBB'
>>>bb = Bitbucket(USERNAME, PASSWORD, repo_name_or_slug="Py-Bitbucket-api")
>>>success, result = bb.repository.get()
>>>print (bb.repository.get())
True{......}
>>>success, archive_path = bb.repository.archive()
>>> print (success, archive_path)
True C:\....\Temp\tmp_zxpa_14