FenTechSolutions / CausalDiscoveryToolbox

Package for causal inference in graphs and in the pairwise settings. Tools for graph structure recovery and dependencies are included.
https://fentechsolutions.github.io/CausalDiscoveryToolbox/html/index.html
MIT License
1.12k stars 197 forks source link

ImportError: R Package (k)pcalg/RCIT is not available. #148

Closed jinxtan closed 1 year ago

jinxtan commented 1 year ago

No GPU automatically detected. Setting SETTINGS.GPU to 0, and SETTINGS.NJOBS to cpu_count. Traceback (most recent call last): File "D:\anaconda3\envs\py37\lib\code.py", line 90, in runcode exec(code, self.locals) File "", line 1, in File "D:\pycharm\PyCharm 2022.2.2\plugins\python\helpers\pydev_pydev_bundle\pydev_umd.py", line 198, in runfile pydev_imports.execfile(filename, global_vars, local_vars) # execute the script File "D:\pycharm\PyCharm 2022.2.2\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "D:\onedrive_st\OneDrive - st.nuc.edu.cn\project\data_synthesis\ceshi.py", line 14, in pc_output = PC().create_graph_from_data(data) File "D:\anaconda3\envs\py37\lib\site-packages\cdt\causality\graph\PC.py", line 176, in init raise ImportError("R Package (k)pcalg/RCIT is not available. " ImportError: R Package (k)pcalg/RCIT is not available. RCIT has to be installed from https://github.com/Diviyan-Kalainathan/RCIT

image But I have installed these packages! I need your help

jinxtan commented 1 year ago

I've solved the bug!

Jiuyue213 commented 1 year ago

I've solved the bug!

how?

Yukang-Lin commented 1 year ago

I've solved the bug!

I meet the same issue, could you please tell me how you solve that!