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 searched the issues and found no similar issues.
Component
Transforms/Other
What happened + What you expected to happen
pip install data-prep-toolkit-transforms-ray==0.2.1.dev1 fails on Ubuntu 24.04 with GCC compiler version 13
This is due to fasttext==0.9.2 dependency listed here : transforms/language/lang_id/python/pyproject.toml line 13
Reproduction script
Work-around 1 - Install and use GCC version 11
## These instructions are for Ubuntu 22.04 and later
sudo apt update
## install GCC/G++ compilers version 11
sudo apt install -y gcc-11 g++-11
## Verify installation
gcc-11 --version
g++-11 --version
# should say 11## Set the compiler before doing pip install
CC=gcc-11 pip install data-prep-toolkit-transforms-ray==0.2.1.dev1
Fix 2 : upgrade to fasttext 0.9.3 (latest)
Update it here : transforms/language/lang_id/python/pyproject.toml line 13
This compiles and installs cleanly. Need to make sure the version upgrade doesn't introduce any other issues.
Anything else
No response
OS
Ubuntu
Python
3.11.x
Are you willing to submit a PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
sujee
changed the title
[Bug] fasttext==0.9.2 doesn't build/install with latest GCC compiler
[Bug] fasttext==0.9.2 doesn't build/install with GCC v13 compiler
Aug 27, 2024
Search before asking
Component
Transforms/Other
What happened + What you expected to happen
pip install data-prep-toolkit-transforms-ray==0.2.1.dev1
fails on Ubuntu 24.04 with GCC compiler version 13This is due to
fasttext==0.9.2
dependency listed here :transforms/language/lang_id/python/pyproject.toml
line 13Reproduction script
Work-around 1 - Install and use GCC version 11
Fix 2 : upgrade to fasttext 0.9.3 (latest)
Update it here :
transforms/language/lang_id/python/pyproject.toml
line 13This compiles and installs cleanly. Need to make sure the version upgrade doesn't introduce any other issues.
Anything else
No response
OS
Ubuntu
Python
3.11.x
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: