Skip to content

Traceback error #5

@Ahmer1122

Description

@Ahmer1122

I have upgraded version of python and all the modules however, I am not able to understand this issue.

Traceback (most recent call last):
File "/home/szweda/Downloads/pyampa/PyAMPA-main/main.py", line 8, in
import seaborn as sns
File "/home/szweda/.local/lib/python3.11/site-packages/seaborn/init.py", line 2, in
from .rcmod import * # noqa: F401,F403
^^^^^^^^^^^^^^^^^^^^
File "/home/szweda/.local/lib/python3.11/site-packages/seaborn/rcmod.py", line 3, in
import matplotlib as mpl
File "/usr/lib/python3/dist-packages/matplotlib/init.py", line 109, in
from . import _api, _version, cbook, docstring, rcsetup
File "/usr/lib/python3/dist-packages/matplotlib/cbook/init.py", line 31, in
from matplotlib import _api, _c_internal_utils
ImportError: cannot import name '_c_internal_utils' from partially initialized module 'matplotlib' (most likely due to a circular import) (/usr/lib/python3/dist-packages/matplotlib/init.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions