Unable to import module 'Manager'
talhatanveer opened this issue · 1 comments
talhatanveer commented
I get the following error error while trying to create a new instance of Manager:
AttributeError: module 'digitalocean' has no attribute 'Manager'
My code is as simple:
import digitalocean
manager = digitalocean.Manager(token="token")
droplets = manager.get_all_droplets(tag_name="Production")
print(droplets)
Additional Details
Python Version: 3.8.3
Running within Pipenv Shell
Operating System: macOS Catalina
talhatanveer commented
Saw another same issue on this repo; I had a file named 'digitalocean.py' in my project folder.