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

Can't import kalepy with Python 3.10 #19

Open
arbenede opened this issue Oct 30, 2024 · 0 comments
Open

Can't import kalepy with Python 3.10 #19

arbenede opened this issue Oct 30, 2024 · 0 comments

Comments

@arbenede
Copy link

When I try to import kalepy as kale with Python 3.10 I get this error:

Python 3.10.13 | packaged by conda-forge | (main, Dec 23 2023, 15:35:25) [Clang 16.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import kalepy as kale
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/arrigob/miniconda3/envs/py310/lib/python3.10/site-packages/kalepy/__init__.py", line 57, in <module>
    from kalepy.plot import *     # noqa
  File "/Users/arrigob/miniconda3/envs/py310/lib/python3.10/site-packages/kalepy/plot.py", line 51, in <module>
    import matplotlib as mpl
  File "/Users/arrigob/miniconda3/envs/py310/lib/python3.10/site-packages/matplotlib/__init__.py", line 159, in <module>
    from . import _api, _version, cbook, _docstring, rcsetup
  File "/Users/arrigob/miniconda3/envs/py310/lib/python3.10/site-packages/matplotlib/cbook/__init__.py", line 32, in <module>
    from matplotlib._api.deprecation import (
ImportError: cannot import name 'mplDeprecation' from 'matplotlib._api.deprecation' (/Users/arrigob/miniconda3/envs/py310/lib/python3.10/site-packages/matplotlib/_api/deprecation.py)
>>>

I installed kalepy from conda-forge:

conda install -c conda-forge kalepy

Any ideas?

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