Skip to content

Releases: ageitgey/fastText-windows-binaries

v0.9.1: release 0.9.1

30 Oct 10:59
Compare
Choose a tag to compare

Unofficial fasttext Python 3.6, 3.7 and 3.8 pre-compiled wheel files for Windows.

Important Note: These downloads require that you first install Visual C++ Redistributable from Microsoft: vc_redist.x64.exe. Otherwise your Python code will crash when you try to use them.

See blog post for more info: https://blog.arcosta.co/fasttext-binaries-for-windows/

If you want to re-compile these yourself instead of using binaries you randomly downloaded off the internet, it is pretty easy. You just need to follow these steps:

  1. Install Visual Studio Community Edition with the "Desktop development with C++" workload selected.
  2. Install pybind11: pip install pybind11
  3. Make sure you have wheel installed: pip install wheel
  4. Clone fastText from git and check out the version you want to build: git branch -b v0.9.1 0.9.1
  5. In the root folder of the fasttext code, run python setup.py bdist_wheel. That will write the wheel file to the ./dist/ subfolder.
  6. You can then install the wheel file with pip or copy it to another computer to install there.