You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had an error too -- don't remember teh exact error message, but it was also related to sentencepiece Build Failure.
I solved this issue by installing the correct version of sentencepiece:
Download, build, and install the correct version of sentencepiece.
CheckJanus\requirements.txt to get the version of sentencepiece. It is 0.1.96 in my case.
Clone the correct version
Make and build
Install
Commands are below:
git clone https://github.com/google/sentencepiece.git --branch v0.1.96 --single-branch
cd sentencepiece
mkdir build
cd build
cmake .. -DSPM_ENABLE_SHARED=OFF -DCMAKE_INSTALL_PREFIX=".\root"
cd ..\python
python setup.py bdist_wheel
set INCLUDE=%INCLUDE%;C:\Projects\sentencepiece\build\root\include
Now install Gradio and it runs fine: pip install -e .[gradio]
I'm encountering an issue while trying to install the janus package with the gradio extra using the command:
pip install -e .[gradio]
The installation fails during the build process for the sentencepiece package with the following error:
The text was updated successfully, but these errors were encountered: