question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Encountered error while trying to install package fasttext

See original GitHub issue
Collecting dostoevsky
  Using cached dostoevsky-0.6.0-py2.py3-none-any.whl (8.5 kB)
Requirement already satisfied: razdel==0.5.0 in c:\users\joker\appdata\local\programs\python\python310\lib\site-packages (from dostoevsky) (0.5.0)
Collecting fasttext==0.9.2
  Using cached fasttext-0.9.2.tar.gz (68 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: pybind11>=2.2 in c:\users\joker\appdata\local\programs\python\python310\lib\site-packages (from fasttext==0.9.2->dostoevsky) (2.9.1)
Requirement already satisfied: setuptools>=0.7.0 in c:\users\joker\appdata\local\programs\python\python310\lib\site-packages (from fasttext==0.9.2->dostoevsky) (60.9.3)
Requirement already satisfied: numpy in c:\users\joker\appdata\local\programs\python\python310\lib\site-packages (from fasttext==0.9.2->dostoevsky) (1.22.2)
Building wheels for collected packages: fasttext
  Building wheel for fasttext (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [52 lines of output]
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\dist.py:738: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
        warnings.warn(
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-3.10
      creating build\lib.win-amd64-3.10\fasttext
      copying python\fasttext_module\fasttext\FastText.py -> build\lib.win-amd64-3.10\fasttext
      copying python\fasttext_module\fasttext\__init__.py -> build\lib.win-amd64-3.10\fasttext
      creating build\lib.win-amd64-3.10\fasttext\util
      copying python\fasttext_module\fasttext\util\util.py -> build\lib.win-amd64-3.10\fasttext\util
      copying python\fasttext_module\fasttext\util\__init__.py -> build\lib.win-amd64-3.10\fasttext\util
      creating build\lib.win-amd64-3.10\fasttext\tests
      copying python\fasttext_module\fasttext\tests\test_configurations.py -> build\lib.win-amd64-3.10\fasttext\tests
      copying python\fasttext_module\fasttext\tests\test_script.py -> build\lib.win-amd64-3.10\fasttext\tests
      copying python\fasttext_module\fasttext\tests\__init__.py -> build\lib.win-amd64-3.10\fasttext\tests
      running build_ext
      building 'fasttext_pybind' extension
      creating build\temp.win-amd64-3.10
      creating build\temp.win-amd64-3.10\Release
      creating build\temp.win-amd64-3.10\Release\python
      creating build\temp.win-amd64-3.10\Release\python\fasttext_module
      creating build\temp.win-amd64-3.10\Release\python\fasttext_module\fasttext
      creating build\temp.win-amd64-3.10\Release\python\fasttext_module\fasttext\pybind
      creating build\temp.win-amd64-3.10\Release\src
      "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include -IC:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include -Isrc -IC:\Users\joker\AppData\Local\Programs\Python\Python310\include -IC:\Users\joker\AppData\Local\Programs\Python\Python310\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /EHsc /Tppython/fasttext_module/fasttext/pybind/fasttext_pybind.cc /Fobuild\temp.win-amd64-3.10\Release\python/fasttext_module/fasttext/pybind/fasttext_pybind.obj /EHsc /DVERSION_INFO=\\\"0.9.2\\\"
      fasttext_pybind.cc
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): error C2065: ssize_t: ­Ґ®Ўкпў«Ґ­­л© Ё¤Ґ­вЁдЁЄ в®а
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): error C2672: "pybind11::init": ­Ґ ­ ©¤Ґ­  ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(170): error C2974: pybind11::init: ­Ґ¤®ЇгбвЁ¬л©  аЈг¬Ґ­в и Ў«®­ ¤«п "CFunc", вॡгҐвбп вЁЇ
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1702): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(170): error C2974: pybind11::init: ­Ґ¤®ЇгбвЁ¬л©  аЈг¬Ґ­в и Ў«®­ ¤«п "Func", вॡгҐвбп вЁЇ
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1697): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(170): error C2974: pybind11::init: ­Ґ¤®ЇгбвЁ¬л©  аЈг¬Ґ­в и Ў«®­ ¤«п "Args", вॡгҐвбп вЁЇ
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1690): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): error C2672: "pybind11::class_<fasttext::Vector>::def": ­Ґ ­ ©¤Ґ­  ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(170): error C2780: pybind11::class_<fasttext::Vector> &pybind11::class_<fasttext::Vector>::def(const char *,Func &&,const Extra &...): вॡгҐв  аЈг¬Ґ­в®ў: 3, Ё¬ҐҐвбп: 1
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1416): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::class_<fasttext::Vector>::def"
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): error C2065: ssize_t: ­Ґ®Ўкпў«Ґ­­л© Ё¤Ґ­вЁдЁЄ в®а
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): error C2065: ssize_t: ­Ґ®Ўкпў«Ґ­­л© Ё¤Ґ­вЁдЁЄ в®а
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): error C2672: "pybind11::init": ­Ґ ­ ©¤Ґ­  ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(182): error C2974: pybind11::init: ­Ґ¤®ЇгбвЁ¬л©  аЈг¬Ґ­в и Ў«®­ ¤«п "CFunc", вॡгҐвбп вЁЇ
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1702): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(182): error C2974: pybind11::init: ­Ґ¤®ЇгбвЁ¬л©  аЈг¬Ґ­в и Ў«®­ ¤«п "Func", вॡгҐвбп вЁЇ
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1697): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(182): error C2974: pybind11::init: ­Ґ¤®ЇгбвЁ¬л©  аЈг¬Ґ­в и Ў«®­ ¤«п "Args", вॡгҐвбп вЁЇ
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1690): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): error C2672: "pybind11::class_<fasttext::DenseMatrix>::def": ­Ґ ­ ©¤Ґ­  ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(182): error C2780: pybind11::class_<fasttext::DenseMatrix> &pybind11::class_<fasttext::DenseMatrix>::def(const char *,Func &&,const Extra &...): вॡгҐв  аЈг¬Ґ­в®ў: 3, Ё¬ҐҐвбп: 1
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1416): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::class_<fasttext::DenseMatrix>::def"
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fasttext
  Running setup.py clean for fasttext
Failed to build fasttext
Installing collected packages: fasttext, dostoevsky
  Running setup.py install for fasttext ... error
  error: subprocess-exited-with-error

  × Running setup.py install for fasttext did not run successfully.
  │ exit code: 1
  ╰─> [54 lines of output]
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\dist.py:738: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
        warnings.warn(
      running install
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-3.10
      creating build\lib.win-amd64-3.10\fasttext
      copying python\fasttext_module\fasttext\FastText.py -> build\lib.win-amd64-3.10\fasttext
      copying python\fasttext_module\fasttext\__init__.py -> build\lib.win-amd64-3.10\fasttext
      creating build\lib.win-amd64-3.10\fasttext\util
      copying python\fasttext_module\fasttext\util\util.py -> build\lib.win-amd64-3.10\fasttext\util
      copying python\fasttext_module\fasttext\util\__init__.py -> build\lib.win-amd64-3.10\fasttext\util
      creating build\lib.win-amd64-3.10\fasttext\tests
      copying python\fasttext_module\fasttext\tests\test_configurations.py -> build\lib.win-amd64-3.10\fasttext\tests
      copying python\fasttext_module\fasttext\tests\test_script.py -> build\lib.win-amd64-3.10\fasttext\tests
      copying python\fasttext_module\fasttext\tests\__init__.py -> build\lib.win-amd64-3.10\fasttext\tests
      running build_ext
      building 'fasttext_pybind' extension
      creating build\temp.win-amd64-3.10
      creating build\temp.win-amd64-3.10\Release
      creating build\temp.win-amd64-3.10\Release\python
      creating build\temp.win-amd64-3.10\Release\python\fasttext_module
      creating build\temp.win-amd64-3.10\Release\python\fasttext_module\fasttext
      creating build\temp.win-amd64-3.10\Release\python\fasttext_module\fasttext\pybind
      creating build\temp.win-amd64-3.10\Release\src
      "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include -IC:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include -Isrc -IC:\Users\joker\AppData\Local\Programs\Python\Python310\include -IC:\Users\joker\AppData\Local\Programs\Python\Python310\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /EHsc /Tppython/fasttext_module/fasttext/pybind/fasttext_pybind.cc /Fobuild\temp.win-amd64-3.10\Release\python/fasttext_module/fasttext/pybind/fasttext_pybind.obj /EHsc /DVERSION_INFO=\\\"0.9.2\\\"
      fasttext_pybind.cc
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): error C2065: ssize_t: ­Ґ®Ўкпў«Ґ­­л© Ё¤Ґ­вЁдЁЄ в®а
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): error C2672: "pybind11::init": ­Ґ ­ ©¤Ґ­  ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(170): error C2974: pybind11::init: ­Ґ¤®ЇгбвЁ¬л©  аЈг¬Ґ­в и Ў«®­ ¤«п "CFunc", вॡгҐвбп вЁЇ
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1702): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(170): error C2974: pybind11::init: ­Ґ¤®ЇгбвЁ¬л©  аЈг¬Ґ­в и Ў«®­ ¤«п "Func", вॡгҐвбп вЁЇ
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1697): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(170): error C2974: pybind11::init: ­Ґ¤®ЇгбвЁ¬л©  аЈг¬Ґ­в и Ў«®­ ¤«п "Args", вॡгҐвбп вЁЇ
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1690): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): error C2672: "pybind11::class_<fasttext::Vector>::def": ­Ґ ­ ©¤Ґ­  ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(170): error C2780: pybind11::class_<fasttext::Vector> &pybind11::class_<fasttext::Vector>::def(const char *,Func &&,const Extra &...): вॡгҐв  аЈг¬Ґ­в®ў: 3, Ё¬ҐҐвбп: 1
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1416): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::class_<fasttext::Vector>::def"
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): error C2065: ssize_t: ­Ґ®Ўкпў«Ґ­­л© Ё¤Ґ­вЁдЁЄ в®а
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): error C2065: ssize_t: ­Ґ®Ўкпў«Ґ­­л© Ё¤Ґ­вЁдЁЄ в®а
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): error C2672: "pybind11::init": ­Ґ ­ ©¤Ґ­  ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(182): error C2974: pybind11::init: ­Ґ¤®ЇгбвЁ¬л©  аЈг¬Ґ­в и Ў«®­ ¤«п "CFunc", вॡгҐвбп вЁЇ
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1702): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(182): error C2974: pybind11::init: ­Ґ¤®ЇгбвЁ¬л©  аЈг¬Ґ­в и Ў«®­ ¤«п "Func", вॡгҐвбп вЁЇ
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1697): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(182): error C2974: pybind11::init: ­Ґ¤®ЇгбвЁ¬л©  аЈг¬Ґ­в и Ў«®­ ¤«п "Args", вॡгҐвбп вЁЇ
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1690): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): error C2672: "pybind11::class_<fasttext::DenseMatrix>::def": ­Ґ ­ ©¤Ґ­  ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
      python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(182): error C2780: pybind11::class_<fasttext::DenseMatrix> &pybind11::class_<fasttext::DenseMatrix>::def(const char *,Func &&,const Extra &...): вॡгҐв  аЈг¬Ґ­в®ў: 3, Ё¬ҐҐвбп: 1
      C:\Users\joker\AppData\Local\Programs\Python\Python310\lib\site-packages\pybind11\include\pybind11\pybind11.h(1416): note:  б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::class_<fasttext::DenseMatrix>::def"
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> fasttext

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Could someone please help me out?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Immickcommented, Sep 29, 2022

@smoothrhymes61, here a solution for installing dostoevsky for Windows.

  1. Download Microsoft Visual C++ Build Tools and install MSVC v140 - VS2015 C++ Build Tools (v14.00) (it’s located at Individual components tab of Visual Studio Installer).
  2. Download and install the corresponding wheel file of fasttext from here. For python 3.10.* and Windows x64 you need this one: pip install fasttext‑0.9.2‑cp310‑cp310‑win_amd64.whl
pip install dostoevsky 
...
Successfully installed dostoevsky-0.6.0
1reaction
smoothrhymes616commented, Sep 8, 2022

(venv) C:>pip install dostoevsky Collecting dostoevsky Downloading dostoevsky-0.6.0-py2.py3-none-any.whl (8.5 kB) Collecting razdel==0.5.0 Downloading razdel-0.5.0-py3-none-any.whl (21 kB) Collecting fasttext==0.9.2 Downloading fasttext-0.9.2.tar.gz (68 kB) ---------------------------------------- 68.8/68.8 kB 3.9 MB/s eta 0:00:00 Preparing metadata (setup.py) … done Collecting pybind11>=2.2 Using cached pybind11-2.10.0-py3-none-any.whl (213 kB) Requirement already satisfied: setuptools>=0.7.0 in c:\users.…\miniconda3\envs.…\lib\site-packages (from fasttext==0.9.2->dostoevsky) (65.3.0) Requirement already satisfied: numpy in c:\users.…\miniconda3\envs\icd\lib\site-packages (from fasttext==0.9.2->dostoevsky) (1.23.1) Building wheels for collected packages: fasttext Building wheel for fasttext (setup.py) … error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [20 lines of output] C:\Users.…\Miniconda3\envs.…\lib\site-packages\setuptools\dist.py:771: UserWarning: Usage of dash-separated ‘description-file’ will not be supported in future versions. Please use the underscore name ‘description_file’ instead warnings.warn( running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-310 creating build\lib.win-amd64-cpython-310\fasttext copying python\fasttext_module\fasttext\FastText.py -> build\lib.win-amd64-cpython-310\fasttext copying python\fasttext_module\fasttext_init_.py -> build\lib.win-amd64-cpython-310\fasttext creating build\lib.win-amd64-cpython-310\fasttext\util copying python\fasttext_module\fasttext\util\util.py -> build\lib.win-amd64-cpython-310\fasttext\util copying python\fasttext_module\fasttext\util_init_.py -> build\lib.win-amd64-cpython-310\fasttext\util creating build\lib.win-amd64-cpython-310\fasttext\tests copying python\fasttext_module\fasttext\tests\test_configurations.py -> build\lib.win-amd64-cpython-310\fasttext\tests copying python\fasttext_module\fasttext\tests\test_script.py -> build\lib.win-amd64-cpython-310\fasttext\tests copying python\fasttext_module\fasttext\tests_init_.py -> build\lib.win-amd64-cpython-310\fasttext\tests running build_ext building ‘fasttext_pybind’ extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for fasttext Running setup.py clean for fasttext Failed to build fasttext Installing collected packages: razdel, pybind11, fasttext, dostoevsky Running setup.py install for fasttext … error error: subprocess-exited-with-error

× Running setup.py install for fasttext did not run successfully. │ exit code: 1 ╰─> [22 lines of output] C:\Users.…\Miniconda3\envs.…\lib\site-packages\setuptools\dist.py:771: UserWarning: Usage of dash-separated ‘description-file’ will not be supported in future versions. Please use the underscore name ‘description_file’ instead warnings.warn( running install C:\Users.…\Miniconda3\envs.…\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build\lib.win-amd64-cpython-310 creating build\lib.win-amd64-cpython-310\fasttext copying python\fasttext_module\fasttext\FastText.py -> build\lib.win-amd64-cpython-310\fasttext copying python\fasttext_module\fasttext_init_.py -> build\lib.win-amd64-cpython-310\fasttext creating build\lib.win-amd64-cpython-310\fasttext\util copying python\fasttext_module\fasttext\util\util.py -> build\lib.win-amd64-cpython-310\fasttext\util copying python\fasttext_module\fasttext\util_init_.py -> build\lib.win-amd64-cpython-310\fasttext\util creating build\lib.win-amd64-cpython-310\fasttext\tests copying python\fasttext_module\fasttext\tests\test_configurations.py -> build\lib.win-amd64-cpython-310\fasttext\tests copying python\fasttext_module\fasttext\tests\test_script.py -> build\lib.win-amd64-cpython-310\fasttext\tests copying python\fasttext_module\fasttext\tests_init_.py -> build\lib.win-amd64-cpython-310\fasttext\tests running build_ext building ‘fasttext_pybind’ extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> fasttext

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

Read more comments on GitHub >

github_iconTop Results From Across the Web

issue of pip install fasttext #1075 - GitHub
In command line, I input : pip install fasttext show following error: Collecting fasttext
Read more >
fastText installation failed - python - Stack Overflow
According to anaconda.org/conda-forge/fasttext, it does not have Windows supported. This one seems to support Windows (I am not sure if this is ...
Read more >
Get started - fastText
In order to build fasttext module for python, use the following: ... If you don't see any error message, the installation was successful....
Read more >
How to install fasttext in Python | bobbyhadz
To install the `fasttext` module on Windows, type CMD in the search bar and open ... If you get an error that pip...
Read more >
How To Solve Error: legacy-install-failure? - Python Pool
× Encountered error while trying to install package. ╰─> gensim. In this article, we will discuss how we can solve this error.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found