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

Missing dependency - alt.data_transformers #37

Closed
sbabicki opened this issue Jan 20, 2021 · 2 comments
Closed

Missing dependency - alt.data_transformers #37

sbabicki opened this issue Jan 20, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@sbabicki
Copy link
Collaborator

The line alt.data_transformers.enable("data_server") in tab1.py causes an error when I try to run it with the current environment file. I'm not sure what the dependency is called, but it needs to be added to the yaml file if we keep that line in.

@sbabicki sbabicki added the bug Something isn't working label Jan 20, 2021
@sbabicki
Copy link
Collaborator Author

Error I am getting:

File "tab1.py", line 10, in
alt.data_transformers.enable("data_server")
File "/opt/miniconda3/envs/group22env/lib/python3.8/site-packages/altair/utils/plugin_registry.py", line 177, in enable
return PluginEnabler(self, name, **options)
File "/opt/miniconda3/envs/group22env/lib/python3.8/site-packages/altair/utils/plugin_registry.py", line 27, in init
self.registry._enable(name, **options)
File "/opt/miniconda3/envs/group22env/lib/python3.8/site-packages/altair/utils/plugin_registry.py", line 142, in _enable
ep = entrypoints.get_single(self.entry_point_group, name)
File "/opt/miniconda3/envs/group22env/lib/python3.8/site-packages/entrypoints.py", line 217, in get_single
raise NoSuchEntryPoint(group, name)
entrypoints.NoSuchEntryPoint: No 'data_server' entry point found in group 'altair.vegalite.v4.data_transformer'

@sbabicki sbabicki self-assigned this Jan 20, 2021
@sbabicki
Copy link
Collaborator Author

Added altair_data_server to the yaml and it seems to have fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants