Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am following this tutorial on quickly. At one point I have to write from quickly import prompts in the file called SimplePlayerWindow.py. But when I do that and run my application, I get the following error:

from quickly import prompts
ImportError: cannot import name prompts

In the Python console IDLE, I tried to launch the command help("quickly") and this is the output:

Help on package quickly:

NAME
    quickly

FILE
    /usr/lib/python2.7/dist-packages/quickly/__init__.py

MODULE DOCS
    http://docs.python.org/library/quickly

PACKAGE CONTENTS
    api
    builtincommands
    bzrbinding
    commands
    configurationhandler
    coreupgrade
    launchpadaccess
    quicklyconfig
    templatetools
    tools
    version

So there is no "prompts" listed. What should I do? Are my programs updated?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Install the package python-quickly.widgets but be careful since it is experimental and there are bugs.

Then run from quickly import prompts like you did before in a Python script.

share|improve this answer
    
So do you believe that the tutorial is outdated ? –  Agmenor Jun 16 '12 at 1:26
    
What import command should I do then ? –  Agmenor Jun 16 '12 at 1:47
    
If the issue was that the Quickly widgets package needed to be installed, that is clearly outlined in the Requirements section at the beginning of the tutorial. –  David Planella Jun 16 '12 at 6:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.