Hi, I am returning multiple values from a task and...
# ask-community
m
Hi, I am returning multiple values from a task and using task decorator with nout option(@task(nout=2)) but I am getting TypeError: __init__() got an unexpected keyword argument 'nout'. Am I doing anything wrong?
j
What version of prefect are you using?
$ prefect version
m
0.13.1
j
Ah, you'll need to upgrade. That feature was added in 0.13.17, but the latest release is 0.14.6. I recommend upgrading to the latest version.
m
When I install pip install prefect, I get all requirements are satisifed
I tried conda as well
j
pip install -U prefect
m
So how can I upgrade?
j
You need to tell pip/conda that you want to upgrade, otherwise they see that the package is already installed and leave everything as is.
m
Ah makes sense. Thank you for the quick resposne