I still can’t `pip install prefect[azure]` on my m...
# prefect-community
s
I still can’t
pip install prefect[azure]
on my m1 mac 😞
a
I can't reproduce myself. Is this your issue? https://github.com/PrefectHQ/prefect/issues/5338 Are you using Azure tasks from the task library? You can always install the required dependencies manually e.g. instead of installing pip install "prefect[aws]", you can install prefect and boto3
k
Maybe try lowering your pip version to a less aggressive dependency resolver. The azure packages are really hard to resolve
s
@Anna Geller Yup that’s the issue. What version of pip are you using? it fails for me with python 3.8.12 installed via pyenv and pip 22. Also fails with poetry. I am trying to use azure for flow storage @Kevin Kho Would you have an example command for that?
a
So it looks like there is a single package you need to find the right version for which is "azure-storage-blob" - in master we have azure-storage-blob >= 12.1.0, perhaps you can start with 12.1.0 then? I think an example of what Kevin meant is:
Copy code
pip install azure-storage-blob --use-feature 2020-resolver
k
Anna is right with the resolver
s
It works with pip but not with poetry, which is the tool we use to manage our python dependencies 😞 . @Anna Geller could you try to run
poetry add prefect[azure]
? You can install it through here https://python-poetry.org/docs/#osx--linux--bashonwindows-install-instructions
I have a workaround right where I run an x86 docker container, but it would be nice if it worked natively too. Thanks again for the help!