sfu-db / dataprep

Open-source low code data preparation library in python. Collect, clean and visualization your data in python with a few lines of code.
http://dataprep.ai
MIT License
1.97k stars 201 forks source link

pip installation failed #977

Open djgdhx opened 7 months ago

djgdhx commented 7 months ago

pip installation failed Why ?

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 python-crfsuite Running setup.py clean for python-crfsuite Successfully built metaphone Failed to build levenshtein regex python-crfsuite ERROR: Could not build wheels for levenshtein, regex, python-crfsuite, which is required to install pyproject.toml-based projects

LeonardoAcquaroli commented 6 months ago

Same issue on a Windows 11 and pip updated at the last version.

Cristian-RC commented 1 month ago

There are two solutions, for that you must have the c++ tool installed

https://visualstudio.microsoft.com/visual-cpp-build-tools/

go to the project.toml of the project and install the libraries that are there https://github.com/sfu-db/dataprep/blob/develop/pyproject.toml

or you perform the following command pip install -U git+https://github.com/sfu-db/dataprep.git@develop