hhuangwx / cmaps

user defined colormaps in matplotlib.
https://github.com/hhuangwx/cmaps
GNU General Public License v3.0
227 stars 72 forks source link

Could not import cmaps #13

Open thelightonmyway opened 3 months ago

thelightonmyway commented 3 months ago

I've installed the cmaps, which's version is 2.0.1, and my python's version is 3.10.14. However, I'm facing the problem that I could not import it, which shows: 'ImportError: attempted relative import with no known parent package'. Is this problem because the python and cmaps versions are not compatible? How could I resolve it?

1 2

Thanks, sincerely.