While trying to install the deepchecks framework for testing my ML project using
pip install deepchecks --upgrade
I got following error.
-
meson setup C:UsersdevAppDataLocalTemppip-install-dhiqjsscipy_0749651b5b2c448299baaf506e009bba C:UsersdevAppDataLocalTemppip-
install-dhiqjsscipy_0749651b5b2c448299baaf506e009bba.mesonpy-zwzbqwrf -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md –native-file=C:UsersdevAppDataLocalTemppip-install-dhiqjsscipy_0749651b5b2c448299baaf506e009bba.mesonpy-zwzbqwrfmeson-python-native-file.ini
The Meson build system
Version: 1.4.1
Source dir: C:UsersdevAppDataLocalTemppip-install-dhiqjsscipy_0749651b5b2c448299baaf506e009bba
Build dir: C:UsersdevAppDataLocalTemppip-install-dhiqjsscipy_0749651b5b2c448299baaf506e009bba.mesonpy-zwzbqwrf
Build type: native build
Project name: SciPy
Project version: 1.9.3
Activating VS 17.10.3
C compiler for the host machine: cl (msvc 19.40.33811 “Microsoft (R) C/C++ Optimizing Compiler Version 19.40.33811 for x64”)
C linker for the host machine: link link 14.40.33811.0
C++ compiler for the host machine: cl (msvc 19.40.33811 “Microsoft (R) C/C++ Optimizing Compiler Version 19.40.33811 for x64”)
C++ linker for the host machine: link link 14.40.33811.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wno-unused-but-set-variable: NO
Compiler for C supports arguments -Wno-unused-but-set-variable: NO (cached)
Compiler for C supports arguments -Wno-unused-function: NO
Compiler for C supports arguments -Wno-conversion: NO
Compiler for C supports arguments -Wno-misleading-indentation: NO
Compiler for C supports arguments -Wno-incompatible-pointer-types: NO
Library m found: NO..meson.build:57:0: ERROR: Unknown compiler(s): [[‘ifort’], [‘gfortran’], [‘flang’], [‘pgfortran’], [‘g95’]]
The following exception(s) were encountered:
Runningifort --version
gave “[WinError 2] The system cannot find the file specified”
Runningifort -V
gave “[WinError 2] The system cannot find the file specified”
Runninggfortran --version
gave “[WinError 2] The system cannot find the file specified”
Runninggfortran -V
gave “[WinError 2] The system cannot find the file specified”
Runningflang --version
gave “[WinError 2] The system cannot find the file specified”
Runningflang -V
gave “[WinError 2] The system cannot find the file specified”
Runningpgfortran --version
gave “[WinError 2] The system cannot find the file specified”
Runningpgfortran -V
gave “[WinError 2] The system cannot find the file specified”
Runningg95 --version
gave “[WinError 2] The system cannot find the file specified”
Runningg95 -V
gave “[WinError 2] The system cannot find the file specified”A full log can be found at C:UsersdevAppDataLocalTemppip-install-dhiqjsscipy_0749651b5b2c448299baaf506e009bba.mesonpy-zwzbqwrfmeson-logsmeson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
However, when I tried installing deepchecks using conda
conda install -c conda-forge deepchecks
it worked like a charm.
Now, even though deepchecks is installed, certain submodules are not getting imported.
from deepchecks.suites import single_dataset_integrity works without any complain. However,
from deepchecks.tabular.suites import data_integrity throws error like
ModuleNotFoundError: No module named ‘deepchecks.tabular’