20

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

2
  • 2
    Can you please post the full traceback of pip install pyarrow? Can you also specify your operating system and version of python? Commented Jul 20, 2020 at 15:18
  • 9
    You can also try pip install --upgrade pip setuptools wheel and then retry pip install streamlit. Commented Jul 20, 2020 at 15:25

3 Answers 3

11

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

enter image description here

and the problem was solved with

pip install pyarrow

Sign up to request clarification or add additional context in comments.

1 Comment

u saved my life. waste too much time to tune windows python env.
6

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

1 Comment

While it's true that using a version of Streamlit < 0.63 will work, you'll miss out on every update from now on. For most people, they are accidentally using 32-bit Python instead of 64-bit, as stackoverflow.com/a/64205790/2394542 indicates
2

Streamlit Version 0.62.1 and python version 3.8.5 works fine.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.