Skip to content Skip to sidebar Skip to footer

Installation Of Pyicu On Heroku

Anyone know how to install PyICU on Heroku? Here is what I tried so far: Created a heroku-buildpack-multi application. In .buildpacks https://github.com/ddollar/heroku-buildpack-

Solution 1:

This is a working workaround until a proper answer to the question.

  1. Create the application as shown above (use the heroku-buildpack-apt to install libicu52 and libicu-dev).

  2. Upload and enter heroku run bash

    CPATH=$CPATH/app/.apt/usr/include/x86_64-linux-gnu

    pip install wheel

    pip wheel PyICU

This will create a wheel (.whl file) in /app/wheelhouse.

Download the file, save it somewhere in your project and install it by putting its name in your requirements.txt

Post a Comment for "Installation Of Pyicu On Heroku"