Libicu-dev needed

2020-12-08_133531

One of my stream app reuqires the PyICU package that is dependent on libicu.
apt install libicu-dev
would install libicu in a Ubuntu.

Would it be possible to have libicu installed?

pyicu is needed by polyglot, a package for multilingual text processing.

Hi @mikeie -

System-level packages are installed using a packages.txt file:

Best,
Randy

1 Like

Cool. Thanks a lot.


Hi Randy!

I put libicu-dev in packages.txt (https://github.com/ffreemt/st-bumblebee-aligner). But pip install PyICU still failed. I used PyICU in Ubuntu 16/18, apt intall libicu-dev fixes the problem with pip install PyICU. Also, the build action in the repo’s workflow https://github.com/ffreemt/st-bumblebee-aligner/blob/master/.github/workflows/build.yml runs successfully (https://github.com/ffreemt/st-bumblebee-aligner/actions/runs/409842728).

I don’t know why it does not work with share.streamlit.io.

Can you please have a look (https://share.streamlit.io/ffreemt/st-bumblebee-aligner/st_app.py)? Thanks very much.

mike

For your convenience, I’ve opened a PR against your repo. This fixes the issue from my Sharing deployment:

1 Like

Thanks very much for your help! It’s up running…

1 Like