Libelpa.17.dylib problem when installing quantum espresso

I have a MacBook Air m1.
I tried to install quantum espresso from here:
https://anaconda.org/conda-forge/qe/files
it seamed to work fine and upon running ‘which pw.x’ it gave me a working path inside home-brew however when I run ‘pw.x’ I get an error telling me libelpa.17.dylib was not found how do I fix it??