Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.
This repository was archived by the owner on May 4, 2021. It is now read-only.

new to python-tutum seeing error on console #21

@rajpant

Description

@rajpant

Hi There,

I have installed python-tutum.

I have written a file test-tutum.py:
import tutum

tutum.user = myuser(my tutum user name)
tutum.apikey = mykey(my api key from tutum)

actions = tutum.Action.list()
print actions;

if i run this file using python test-tutum.py it shows me eorrs:
File "/home/developer/.local/lib/python2.7/site-packages/tutum/init.py", line 7, in
install_aliases()
File "/home/developer/.local/lib/python2.7/site-packages/future/standard_library/init.py", line 483, in install_aliases
import test
File "/home/developer/Desktop/python/tutum/test.py", line 24, in
actions = tutum.Action.list()
AttributeError: 'module' object has no attribute 'Action'

Could you please help me out.
Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions