https://prefect.io logo
Title
m

Matheus Rocha

03/02/2023, 12:42 AM
Hey guys, Im facing this issue, when trying to install
pip3 install 'prefect[aws]'
WARNING: prefect 2.7.9 does not provide the extra 'aws'
Can anyone help me with this?
j

James Sopkin

03/02/2023, 12:44 AM
are you trying to install
prefect-aws?
m

Matheus Rocha

03/02/2023, 12:45 AM
hey @James Sopkin! im trying to invoke a lambda and all the examples i've seen they were using prefect[aws]. Is there any difference between these two?
j

James Sopkin

03/02/2023, 12:48 AM
ahh yes. Prefect-aws is related to the aws collection.
I'm going to try to reproduce this. It did work for me just now on 2.7.12
m

Matheus Rocha

03/02/2023, 12:52 AM
also tried on 2.7.12:
WARNING: prefect 2.7.12 does not provide the extra 'aws'
😒ad-keanu:
j

James Sopkin

03/02/2023, 12:54 AM
interesting. When I tried installing prefect[aws] with poetry, I didn't get a warning, but when I used pip using the same version as you, I did get the same warning message
m

Matheus Rocha

03/02/2023, 12:56 AM
fyi im using an M1
j

James Sopkin

03/02/2023, 12:56 AM
same here
r

Ryan Peden

03/02/2023, 12:57 AM
I believe
prefect[aws]
is Prefect v1
j

James Sopkin

03/02/2023, 1:00 AM
That would make a lot of sense @Ryan Peden
so I just double checked and my prefect[aws] version is 0.4.8
r

Ryan Peden

03/02/2023, 1:01 AM
Maybe Poetry resolves the most recent
prefect[aws]
it can find, and pip just tries the latest version of the package and gives up if the
aws
extra doesn't exist?
m

Matheus Rocha

03/02/2023, 1:04 AM
but in this case I'm not able to use the
LambdaInvoke
for example in prefect v2?