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

ImportError: Attempt to Import Undefined Function get_names from bicycle.utils.data #2

Open
mcharrak opened this issue Oct 31, 2024 · 0 comments

Comments

@mcharrak
Copy link

Description:
Hello, I encountered an issue when running the synthetic experiment script run_synthetic_masked.py from the bicycle library. The script attempts to import a function get_names from bicycle.utils.data, but this function does not seem to be defined within data.py. As a result, I receive an ImportError.

Error Message:

Traceback (most recent call last):
  File "/path/to/run_synthetic_masked.py", line 20, in <module>
    from bicycle.utils.data import get_names
ImportError: cannot import name 'get_names' from 'bicycle.utils.data' (/path/to/python/site-packages/bicycle/utils/data.py)

It would be helpful to know if get_names was removed or renamed, or if there is an alternative import to replace it in run_synthetic_masked.py.

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

1 participant