2

When I try to use ctask as defined in the getting started guide, it fails with the following error:

>>> from invoke import ctask as task
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name task

What happened to the ctask module?

Jason Martens
  • 1,305
  • 11
  • 22

1 Answers1

3

In pyinvoke 0.13.0, all tasks are now ctasks

Change your import to use task instead.

Jason Martens
  • 1,305
  • 11
  • 22