Some whl "is not a supported wheel on this platform"

when i deployed and run my app,
i got a message “Error installing requirements.”

In requirements.txt,
“mecab_python @ git+https://github.com/Pusnow/mecab-python-msvc/releases/download/mecab_python-0.996_ko_0.9.2_msvc-4/mecab_python-0.996_ko_0.9.2_msvc-cp37-cp37m-win_amd64.whl”

but when i deploy this app,

ERROR: mecab_python-0.996_ko_0.9.2_msvc-cp37-cp37m-win_amd64.whlcp37m-win_amd64.whl is not a supported wheel on this platform.

and even though i installed pip 23.2 version,
I got a message,
“WARNING: You are using pip version 22.0.3; however, version 23.2 is available.
You should consider upgrading via the ‘/home/appuser/venv/bin/python -m pip install --upgrade pip’ command.
Checking if Streamlit is installed”

please help me, thank you.

Hi @say_yo

It seems the WHL is for Python 3.7 but Streamlit is no longer supporting 3.7 and requirest at least 3.8

Could you try again with a newer WHL or try downgrading to an older Streamlit version.

Also, just noticed this segment in the WHL file name, win_amd64 , which suggest that it would work on a Windows 64-bit platform. If you’re deploying on Streamlit Community Cloud then it is not supported as it is running on Linux (Debian-based), please look into getting a supported version.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.