hlin117 / mdlp-discretization

An implementation of the minimum description length principal expert binning algorithm by Usama Fayyad
BSD 3-Clause "New" or "Revised" License
101 stars 54 forks source link

error: Microsoft Visual C++ 14.0 or greater is required. #40

Open KashaDong opened 1 year ago

KashaDong commented 1 year ago

I installed the package by

pip install mdlp-discretization

However I received error: ERROR: Command errored out with exit status 1: Cannot find available cython installation. Using cpp to build the extension running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.8 creating build\lib.win-amd64-3.8\mdlp copying mdlp\discretization.py -> build\lib.win-amd64-3.8\mdlp copying mdlp__init__.py -> build\lib.win-amd64-3.8\mdlp running build_ext building 'mdlp._mdlp' 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/

I have installed the latest visual studio and visual c++ redistributable, but the error still exists. Can you help me solve the problem?

KashaDong commented 1 year ago

I have solved this problem by install cython and Microsoft C++ Build Tools.