mljar / mljar-supervised

Python package for AutoML on Tabular Data with Feature Engineering, Hyper-Parameters Tuning, Explanations and Automatic Documentation
https://mljar.com
MIT License
3.05k stars 406 forks source link

Issues during installation and with module shap #124

Closed AndreasTraut closed 4 years ago

AndreasTraut commented 4 years ago

I tried to install but already get an error during the installation process: installation I didn't see, that Visual Studio is a requirement for "Mljar-Supervised". After having downloaded "Visual Studio" I tried to use your example "binary_classifier.py" but it says, that the "module shap is missing" even if it is there in the correct folder: shap_missing And when I have a look into "shap.py" I see another "import shap" there (I don't know if this causes the error): line13

pplonski commented 4 years ago

@AndreasTraut thank you for reporting the issue. There is no need for Visual Studio in mljar-supervised. From what I see, you have an installation problem while installing the shap package. The message is that you need a Microsoft Visual C++ compiler which can be installed with Visual Studio IDE. Can you give me more details about what version of the operating system are you using, I will try to reproduce this bug.

By the way, mljar-supervised should work with Spyder IDE as well. Personally, I'm using Visual Studio Code because it has nice preview of markdown reports. I believe that Spyder should preview markdown reports as well.

Thank you! :+1:

AndreasTraut commented 4 years ago

I am using a Windows 10 Pro systen, x64, Intel i7-8799 CPU, 3.2 GHz, 16GB RAM. Spyder/Juypter from Anaconda Distribution, GitHub Desktop (newest versions each).

Let me know what else you need to solve my problem. Thanks for your help!