FederatedScope icon indicating copy to clipboard operation
FederatedScope copied to clipboard

TypeError: call_file_data() missing 1 required positional argument: 'client_cfgs'

Open tntstation opened this issue 1 year ago • 6 comments

ImportError: DLL load failed while importing specfun,This happened after I installed the HDBSCAN package. I tried reinstalling Fs but it didn't work. How should I solve this problem?

tntstation avatar Feb 02 '24 02:02 tntstation

The problem was solved after I reinstalled scipy,however a new problem appeared, "TypeError: call_file_data() missing 1 required positional argument: 'client_cfgs'”, I was pretty sure something was broken. image

tntstation avatar Feb 02 '24 03:02 tntstation

def call_file_data(config, client_cfgs): should be right.

How do you modify the function? data_data_config = func(config) should be data_data_config = func(config, client_cfgs)

rayrayraykk avatar Feb 02 '24 09:02 rayrayraykk

Actually,all the code I write is marked with a "#".So I think the problem lies in the environment. When installing the hdbscan package, numpy automatically upgraded. I no longer expect to fix the environment. I am currently reinstalling the environment, but what surprises me is why after following the instructions on the official website, PyCharm will prompt me that I did not install such an important package of yacs. Which step did I take wrong? image

tntstation avatar Feb 05 '24 04:02 tntstation

It looks like I still need to run python setup.py install after following the instructions, and backdoor bench doesn't seem to support running with pyyaml.

tntstation avatar Feb 14 '24 03:02 tntstation

Another question, I can't install networkX, will it have any effect?

tntstation avatar Feb 14 '24 03:02 tntstation

Another question, I can't install networkX, will it have any effect?

If you are not planning to use the graph module, it won't have any effect.

rayrayraykk avatar Feb 18 '24 02:02 rayrayraykk