Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Encountered error while trying to install package fasttext #160

Open
JokerVilli opened this issue Feb 25, 2022 · 7 comments
Open

Encountered error while trying to install package fasttext #160

JokerVilli opened this issue Feb 25, 2022 · 7 comments

Comments

@JokerVilli
Copy link

JokerVilli commented Feb 25, 2022

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?

@Dolgopolovww
Copy link

I understand that the problem is still not solved???

@smoothrhymes616
Copy link

(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.

@smoothrhymes616
Copy link

This package is not usable if this issue does not get resolved.

@dveselov
Copy link
Member

dveselov commented Sep 8, 2022

Hi, @smoothrhymes616
Installation log that you provided gives some hints about possible fix of error, please read it carefully, especially this part:

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/

@Immick
Copy link

Immick commented 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

@smoothrhymes616
Copy link

Thanks, Immick!!! That fixed it for me!

@Anturui
Copy link

Anturui commented Nov 9, 2022

Hello!
These manipulations did not help in installing fast text.
The error keeps popping up:

Collecting dostoevsky
Using cached dostoevsky-0.6.0-py2.py3-none-any.whl (8.5 kB)
Collecting razdel==0.5.0
Using cached razdel-0.5.0-py3-none-any.whl (21 kB)
Collecting fasttext==0.9.2
Using cached fasttext-0.9.2.tar.gz (68 kB)
Preparing metadata (setup.py) ... done
Collecting pybind11>=2.2
Using cached pybind11-2.10.1-py3-none-any.whl (216 kB)
Collecting setuptools>=0.7.0
Using cached setuptools-65.5.1-py3-none-any.whl (1.2 MB)
Collecting numpy
Using cached numpy-1.23.4-cp310-cp310-win_amd64.whl (14.6 MB)
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
╰─> [70 lines of output]
C:\Users\Arwielao\AppData\Roaming\Python\Python310\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
creating build\temp.win-amd64-cpython-310
creating build\temp.win-amd64-cpython-310\Release
creating build\temp.win-amd64-cpython-310\Release\python
creating build\temp.win-amd64-cpython-310\Release\python\fasttext_module
creating build\temp.win-amd64-cpython-310\Release\python\fasttext_module\fasttext
creating build\temp.win-amd64-cpython-310\Release\python\fasttext_module\fasttext\pybind
creating build\temp.win-amd64-cpython-310\Release\src
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include -IC:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include -Isrc "-IC:\Program Files\Python310\include" "-IC:\Program Files\Python310\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tppython/fasttext_module/fasttext/pybind/fasttext_pybind.cc /Fobuild\temp.win-amd64-cpython-310\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": ­Ґ ­ ©¤Ґ­ ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1902): note: ¬®¦Ґв Ўлвм "Ret pybind11::init(CFunc &&,AFunc &&)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): note: pybind11::init: ­Ґ¤®ЇгбвЁ¬л© аЈг¬Ґ­в и Ў«®­ ¤«п "CFunc", вॡгҐвбп вЁЇ
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1902): note: б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1894): note: Ё«Ё "Ret pybind11::init(Func &&)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): note: pybind11::init: ­Ґ¤®ЇгбвЁ¬л© аЈг¬Ґ­в и Ў«®­ ¤«п "Func", вॡгҐвбп вЁЇ
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1894): note: б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1882): note: Ё«Ё "pybind11::detail::initimpl::constructor<Args...> pybind11::init(void)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): note: pybind11::init: ­Ґ¤®ЇгбвЁ¬л© аЈг¬Ґ­в и Ў«®­ ¤«п "Args", вॡгҐвбп вЁЇ
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1882): note: б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): error C2672: "pybind11::class_fasttext::Vector::def": ­Ґ ­ ©¤Ґ­ ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1614): note: ¬®¦Ґв Ўлвм "pybind11::class_fasttext::Vector &pybind11::class_fasttext::Vector::def(pybind11::detail::initimpl::pickle_factory<Args...> &&,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1608): note: Ё«Ё "pybind11::class_fasttext::Vector &pybind11::class_fasttext::Vector::def(pybind11::detail::initimpl::factory<Args...> &&,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1601): note: Ё«Ё "pybind11::class_fasttext::Vector &pybind11::class_fasttext::Vector::def(const pybind11::detail::initimpl::alias_constructor<Args...> &,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1594): note: Ё«Ё "pybind11::class_fasttext::Vector &pybind11::class_fasttext::Vector::def(const pybind11::detail::initimpl::constructor<Args...> &,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1582): note: Ё«Ё "pybind11::class_fasttext::Vector &pybind11::class_fasttext::Vector::def(const T &,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1557): note: Ё«Ё "pybind11::class_fasttext::Vector &pybind11::class_fasttext::Vector::def(const char *,Func &&,const Extra &...)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): note: pybind11::class_fasttext::Vector &pybind11::class_fasttext::Vector::def(const char *,Func &&,const Extra &...): вॡгҐв аЈг¬Ґ­в®ў: 3, Ё¬ҐҐвбп: 1
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1557): 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": ­Ґ ­ ©¤Ґ­ ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1902): note: ¬®¦Ґв Ўлвм "Ret pybind11::init(CFunc &&,AFunc &&)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): note: pybind11::init: ­Ґ¤®ЇгбвЁ¬л© аЈг¬Ґ­в и Ў«®­ ¤«п "CFunc", вॡгҐвбп вЁЇ
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1902): note: б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1894): note: Ё«Ё "Ret pybind11::init(Func &&)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): note: pybind11::init: ­Ґ¤®ЇгбвЁ¬л© аЈг¬Ґ­в и Ў«®­ ¤«п "Func", вॡгҐвбп вЁЇ
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1894): note: б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1882): note: Ё«Ё "pybind11::detail::initimpl::constructor<Args...> pybind11::init(void)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): note: pybind11::init: ­Ґ¤®ЇгбвЁ¬л© аЈг¬Ґ­в и Ў«®­ ¤«п "Args", вॡгҐвбп вЁЇ
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1882): note: б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): error C2672: "pybind11::class_fasttext::DenseMatrix::def": ­Ґ ­ ©¤Ґ­ ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1614): note: ¬®¦Ґв Ўлвм "pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(pybind11::detail::initimpl::pickle_factory<Args...> &&,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1608): note: Ё«Ё "pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(pybind11::detail::initimpl::factory<Args...> &&,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1601): note: Ё«Ё "pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(const pybind11::detail::initimpl::alias_constructor<Args...> &,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1594): note: Ё«Ё "pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(const pybind11::detail::initimpl::constructor<Args...> &,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1582): note: Ё«Ё "pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(const T &,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1557): note: Ё«Ё "pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(const char *,Func &&,const Extra &...)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): note: pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(const char *,Func &&,const Extra &...): вॡгҐв аЈг¬Ґ­в®ў: 3, Ё¬ҐҐвбп: 1
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1557): note: б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::class_fasttext::DenseMatrix::def"
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\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: razdel, setuptools, pybind11, numpy, 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
╰─> [72 lines of output]
C:\Users\Arwielao\AppData\Roaming\Python\Python310\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\Arwielao\AppData\Roaming\Python\Python310\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
creating build\temp.win-amd64-cpython-310
creating build\temp.win-amd64-cpython-310\Release
creating build\temp.win-amd64-cpython-310\Release\python
creating build\temp.win-amd64-cpython-310\Release\python\fasttext_module
creating build\temp.win-amd64-cpython-310\Release\python\fasttext_module\fasttext
creating build\temp.win-amd64-cpython-310\Release\python\fasttext_module\fasttext\pybind
creating build\temp.win-amd64-cpython-310\Release\src
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include -IC:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include -Isrc "-IC:\Program Files\Python310\include" "-IC:\Program Files\Python310\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tppython/fasttext_module/fasttext/pybind/fasttext_pybind.cc /Fobuild\temp.win-amd64-cpython-310\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": ­Ґ ­ ©¤Ґ­ ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1902): note: ¬®¦Ґв Ўлвм "Ret pybind11::init(CFunc &&,AFunc &&)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): note: pybind11::init: ­Ґ¤®ЇгбвЁ¬л© аЈг¬Ґ­в и Ў«®­ ¤«п "CFunc", вॡгҐвбп вЁЇ
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1902): note: б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1894): note: Ё«Ё "Ret pybind11::init(Func &&)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): note: pybind11::init: ­Ґ¤®ЇгбвЁ¬л© аЈг¬Ґ­в и Ў«®­ ¤«п "Func", вॡгҐвбп вЁЇ
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1894): note: б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1882): note: Ё«Ё "pybind11::detail::initimpl::constructor<Args...> pybind11::init(void)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): note: pybind11::init: ­Ґ¤®ЇгбвЁ¬л© аЈг¬Ґ­в и Ў«®­ ¤«п "Args", вॡгҐвбп вЁЇ
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1882): note: б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): error C2672: "pybind11::class_fasttext::Vector::def": ­Ґ ­ ©¤Ґ­ ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1614): note: ¬®¦Ґв Ўлвм "pybind11::class_fasttext::Vector &pybind11::class_fasttext::Vector::def(pybind11::detail::initimpl::pickle_factory<Args...> &&,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1608): note: Ё«Ё "pybind11::class_fasttext::Vector &pybind11::class_fasttext::Vector::def(pybind11::detail::initimpl::factory<Args...> &&,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1601): note: Ё«Ё "pybind11::class_fasttext::Vector &pybind11::class_fasttext::Vector::def(const pybind11::detail::initimpl::alias_constructor<Args...> &,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1594): note: Ё«Ё "pybind11::class_fasttext::Vector &pybind11::class_fasttext::Vector::def(const pybind11::detail::initimpl::constructor<Args...> &,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1582): note: Ё«Ё "pybind11::class_fasttext::Vector &pybind11::class_fasttext::Vector::def(const T &,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1557): note: Ё«Ё "pybind11::class_fasttext::Vector &pybind11::class_fasttext::Vector::def(const char *,Func &&,const Extra &...)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(171): note: pybind11::class_fasttext::Vector &pybind11::class_fasttext::Vector::def(const char *,Func &&,const Extra &...): вॡгҐв аЈг¬Ґ­в®ў: 3, Ё¬ҐҐвбп: 1
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1557): 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": ­Ґ ­ ©¤Ґ­ ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1902): note: ¬®¦Ґв Ўлвм "Ret pybind11::init(CFunc &&,AFunc &&)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): note: pybind11::init: ­Ґ¤®ЇгбвЁ¬л© аЈг¬Ґ­в и Ў«®­ ¤«п "CFunc", вॡгҐвбп вЁЇ
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1902): note: б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1894): note: Ё«Ё "Ret pybind11::init(Func &&)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): note: pybind11::init: ­Ґ¤®ЇгбвЁ¬л© аЈг¬Ґ­в и Ў«®­ ¤«п "Func", вॡгҐвбп вЁЇ
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1894): note: б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1882): note: Ё«Ё "pybind11::detail::initimpl::constructor<Args...> pybind11::init(void)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): note: pybind11::init: ­Ґ¤®ЇгбвЁ¬л© аЈг¬Ґ­в и Ў«®­ ¤«п "Args", вॡгҐвбп вЁЇ
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1882): note: б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::init"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): error C2672: "pybind11::class_fasttext::DenseMatrix::def": ­Ґ ­ ©¤Ґ­ ᮮ⢥вбвўгой п ЇҐаҐЈа㦥­­ п дг­ЄжЁп
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1614): note: ¬®¦Ґв Ўлвм "pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(pybind11::detail::initimpl::pickle_factory<Args...> &&,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1608): note: Ё«Ё "pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(pybind11::detail::initimpl::factory<Args...> &&,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1601): note: Ё«Ё "pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(const pybind11::detail::initimpl::alias_constructor<Args...> &,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1594): note: Ё«Ё "pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(const pybind11::detail::initimpl::constructor<Args...> &,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1582): note: Ё«Ё "pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(const T &,const Extra &...)"
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1557): note: Ё«Ё "pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(const char *,Func &&,const Extra &...)"
python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): note: pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(const char *,Func &&,const Extra &...): вॡгҐв аЈг¬Ґ­в®ў: 3, Ё¬ҐҐвбп: 1
C:\Users\Arwielao\AppData\Roaming\Python\Python310\site-packages\pybind11\include\pybind11\pybind11.h(1557): note: б¬. ®Ўкпў«Ґ­ЁҐ "pybind11::class_fasttext::DenseMatrix::def"
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\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.

Please, help!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants