carlos-gg / VIP_extras

Datacubes, Jupyter tutorials and other materials related to VIP (https://github.com/vortex-exoplanet/VIP)
3 stars 6 forks source link

Backends could be imported #9

Open agallenne opened 3 years ago

agallenne commented 3 years ago

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