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
Post a Comment