问题
When I try pip install streamlit
it fails with the error message:
ERROR: "Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly"
I tried installing pip install pyarrow
directly but still gives the same error message
回答1:
In my case the problem was related to Python version. More specifically I noticed in error logs:
RuntimeError: Not supported on 32-bit Windows
So then I installed Python 3.8.6 (x64 version) instead of x32
and the problem was solved with
pip install pyarrow
回答2:
I also faced this same issue and I noted that pyarrow is a requirement in streamlit version 0.63.0. So you can use pip install streamlit==0.62.0
and it will work just fine
来源:https://stackoverflow.com/questions/62994971/error-installing-streamlit-it-says-error-could-not-build-wheels-for-pyarrow-wh