Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Failed install #1364

@FaresRe1

Description

@FaresRe1

Hey,
Im trying to install fasttext onto VSCode for a deeppavlov system im developing. Whenever I do pip install fasttext, i get the error message shown below. Am i installing it wrong or what do I do to fix it.

Thank you

`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
╰─> [75 lines of output] python/fasttext_module/fasttext/pybind/fasttext_pybind.cc(185): note: 'pybind11::class_fasttext::DenseMatrix &pybind11::class_fasttext::DenseMatrix::def(const char *,Func &&,const Extra &...)': expects 3 arguments - 1 provided
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\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
ERROR: Could not build wheels for fasttext, which is required to install pyproject.toml-based projects`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions