Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tntstation opened this issue Feb 2, 2024 · 6 comments

Comments

@tntstation
Copy link

tntstation commented Feb 2, 2024

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 tntstation changed the title ImportError: DLL load failed while importing specfun TypeError: call_file_data() missing 1 required positional argument: 'client_cfgs' Feb 2, 2024
@tntstation
Copy link
Author

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

@rayrayraykk
Copy link
Collaborator

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)

@tntstation
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

@rayrayraykk
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants