

WindowsでMeCabを使ったアプリをherokuにデプロイしたいのですが、エラーが出ます。

[code]

    remote:        Collecting mecab-python-windows==0.996.3 (from -r 
    /tmp/build_beb169f7c63c4d7023b0ec6888f38c1f/requirements.txt (line 5))
    remote:          Downloading https://files.pythonhosted.org/packages/40/c9/437d18e868da1e4c49cee00594992de2fdd4008d63c6ef303eaae796ab34/mecab-python-windows-0.996.3.tar.gz (53kB)
    remote:            Complete output from command python setup.py egg_info:    
    remote:            /bin/sh: 1: mecab-config: not found
    remote:            Traceback (most recent call last):
    remote:              File "<string>", line 1, in <module>
    remote:              File "/tmp/pip-build-y1h8lx3p/mecab-python- 
    windows/setup.py", line 46, in <module>
    remote:                include_dirs=cmd2("mecab-config --inc-dir"),
    remote:              File "/tmp/pip-build-y1h8lx3p/mecab-python- 
    windows/setup.py", line 14, in cmd2
    remote:                return cmd1(strings).split()
    remote:              File "/tmp/pip-build-y1h8lx3p/mecab-python- 
    windows/setup.py", line 10, in cmd1
    remote:                return os.popen(strings).readlines()[0][:-1]
    remote:            IndexError: list index out of range
    remote:
    remote:            ----------------------------------------
    remote:        Command "python setup.py egg_info" failed with error code 1 
    in /tmp/pip-build-y1h8lx3p/mecab-python-windows/
    remote:  !     Push rejected, failed to compile Python app.
    
[/code]

ローカルのMeCabは<https://qiita.com/menon/items/f041b7c46543f38f78f7>を参考にしてrequirest.txtにmecab-
python-windowsと記述しています。どうすればいいのでしょうか


CC BY-SA 4.0
2020-01-02T15:04:11.747
61941
2020-01-02T15:04:11.747
37293
question
python windows heroku mecab
WindowsでMecabをHerokuにデプロイできない