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

Backends could be imported #9

Open
agallenne opened this issue Feb 6, 2021 · 0 comments
Open

Backends could be imported #9

agallenne opened this issue Feb 6, 2021 · 0 comments

Comments

@agallenne
Copy link

agallenne commented Feb 6, 2021

I would like to try the VIP package, but I come across various issues using the tutorial. I have the version 0.9.11, and use it in ipython. The issue I am facing now is that none of the backend could be imported. See error message:

In [9]: betapic.plot()
WARNING:param.notebook_extension: Holoviews matplotlib extension could not be imported, it raised the following exception: PermissionError('[Errno 13] Permission denied: 'convert'')

ImportError Traceback (most recent call last)
in
----> 1 betapic.plot()

~/opt/anaconda3/lib/python3.7/site-packages/vip_hci/hci_dataset.py in plot(self, **kwargs)
911 HCIplot.
912 """
--> 913 hp.plot_cubes(self.cube, **kwargs)
914
915 def recenter(self, method='2dfit', xy=None, subi_size=5, model='gauss',

~/opt/anaconda3/lib/python3.7/site-packages/hciplot/hciplot.py in plot_cubes(cube, mode, backend, dpi, figtype, vmin, vmax, size, width, height, cmap, colorbar, dynamic, anim_path, data_step_range, label, label_step_range, delay, anim_format, delete_anim_cache, **kwargs)
665 http://holoviews.org/user_guide/Applying_Customizations.html
666 """
--> 667 hv.extension(backend)
668
669 if not isinstance(cube, np.ndarray):

~/opt/anaconda3/lib/python3.7/site-packages/param/parameterized.py in new(class_, *args, **params)
2810 inst = class_.instance()
2811 inst.param.set_name(class.name)
-> 2812 return inst.call(*args,**params)
2813
2814 def call(self,*args,**kw):

~/opt/anaconda3/lib/python3.7/site-packages/holoviews/ipython/init.py in call(self, *args, **params)
114
115 def call(self, *args, **params):
--> 116 super(notebook_extension, self).call(*args, **params)
117 # Abort if IPython not found
118 try:

~/opt/anaconda3/lib/python3.7/site-packages/holoviews/util/init.py in call(self, *args, **params)
708
709 if selected_backend is None:
--> 710 raise ImportError('None of the backends could be imported')
711 Store.set_current_backend(selected_backend)
712

ImportError: None of the backends could be imported

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