koalalorenzo / python-digitalocean

🐍🐳 Python module to manage Digital Ocean droplets
GNU Lesser General Public License v3.0
1.25k stars 300 forks source link

Unable to import module 'Manager' #327

Closed talhatanveer closed 3 years ago

talhatanveer commented 3 years ago

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 3 years ago

Saw another same issue on this repo; I had a file named 'digitalocean.py' in my project folder.