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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -