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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -