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
use linux and still you need build-essential-12.9, install it as .deb package
if windows ,use python 3.8 or 3.9 with :
don't install the normal way , do this instead in conda
pip install --no-deps easynmt
pip install langdetect
pip install nltk
In case anyone still looking for a solution. The problem is in the fastText package which doesn't have pre-built binaries for Python 3.10 and later. So it requires a rebuild from source, which requires the correct version of gcc compiler, which in this case is 12.
You can check which version of gcc you have by running this command: gcc --version
If it's 13, 14 or whatever, then you need to the following:
You need to install previous gcc and g++ version using this command: apt install gcc-12 g++-12
Then you need to set this version as default one: update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 1
Then install the fasttext package: pip install fasttext
Then you can finally install the EasyNMT
To revert back, use these commands:
Revert the default version back using this command: update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 1
anyone has idea how to fix this?
i am using a new profile on company's laptop, the old profile had no issue when installing
The text was updated successfully, but these errors were encountered: