0

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?

1 Answer 1

3

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.

3
  • So do you believe that the tutorial is outdated ?
    – Agmenor
    Jun 16, 2012 at 1:26
  • What import command should I do then ?
    – Agmenor
    Jun 16, 2012 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. Jun 16, 2012 at 6:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .