At Arcosta, we use a wide range of machine learning libraries, including Facebook's fastText text classification library and the official fasttext Python wrapper for it.
While we do a lot of work on Linux and macOs, we also deploy these tools on Windows. However, fastText doesn't provide pre-compiled Python modules for Windows. This can be a pain because it isn't always possible to install C++ compilers and other development tools on the machines that run your code. Thus, we end up having to build and distribute our own fastText Python module binaries.
Since we needed them, we thought we might as well share them with others who need them and don't have the ability to install Visual Studio.
Important Note: These downloads require that you first install the Visual C++ Redistributable from Microsoft: vc_redist.x64.exe. Otherwise your Python code will crash when you try to call them.
Downloads for Python 3.6, 3.7 and 3.8:
- fastText 0.9.1 Python 3.6 wheel for Windows x64: fasttext-0.9.1-cp36-cp36m-win_amd64.whl
- fastText 0.9.1 Python 3.7 wheel for Windows x64: fasttext-0.9.1-cp37-cp37m-win_amd64.whl
- fastText 0.9.1 Python 3.8 wheel for Windows x64: fasttext-0.9.1-cp38-cp38-win_amd64.whl
You can install these using pip in a cmd window:
pip install fasttext-0.9.1-version_here-win_amd64.whl
You can find a full list of the binary releases here on github.