Python Invoke - keine Sammlung mit dem Namen "Tasks" findenPython

Python-Programme
Anonymous
 Python Invoke - keine Sammlung mit dem Namen "Tasks" finden

Post by Anonymous »

Ich habe den "Einstieg" auf
Python aufrufen: < /p>

Code: Select all

from invoke import task

@task
def build():
print("Building!")
< /code>
Die erwartete Ausgabe ist < /p>
$ invoke build
Building!
< /code>
meine Ausgabe ist jedoch < /p>
$ invoke build
Can't find any collection named 'tasks'!
Ich habe keine Ahnung warum.

Code: Select all

> mkvirtualenv myenv
> invoke build
Building!
> deactivate myenv
> invoke build
Building!
Habe ich etwas verpasst?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post