python - DigitalOcean module not loaded or installed properly -


i'm trying use digitalocean python module found here.

i installed with: sudo pip install -u python-digitalocean

in python shell, get:

>>> import digitalocean >>> manager = digitalocean.manager(token="secretspecialuniquesnowflake") traceback (most recent call last):   file "<stdin>", line 1, in <module> attributeerror: 'module' object has no attribute 'manager' 

and:

>>> dir(digitalocean) ['__builtins__', '__doc__', '__file__', '__name__', '__package__'] 

i'm quite new python i'm not sure what's gone wrong. can please?


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -