-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Greetings,
I installed everything without a problem but both in my Windows 10 Python 3.10 environment in desktop, and Python 3.10 distribution in Google Colab, importing delight.delight gives something like this:
ModuleNotFoundError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from delight.delight import *1 frames
/usr/local/lib/python3.10/dist-packages/delight/delight/init.py in
----> 1 from .delight import */usr/local/lib/python3.10/dist-packages/delight/delight/delight.py in
22 from astropy.io import fits
23
---> 24 from mpl_toolkits.axes_grid.inset_locator import inset_axes
25 from matplotlib import cm
26ModuleNotFoundError: No module named 'mpl_toolkits.axes_grid'
I moved on mpl_toolkits library folder getting help from the following 2 lines:
import importlib importlib.import_module('mpl_toolkits').__path__
Then I changed the folder name axes_grid1 in that folder to axes_grid.
Everything looks like perfect now. However, I wanted to inform you about this, as my workaround might actually disrupt something unseen right now.