error while importing "from fedot.api.main import Fedot"
Created by: hemangjoshi37a
import line :
from fedot.api.main import Fedot
Error :
ValueError Traceback (most recent call last) in ----> 1 from fedot.api.main import Fedot 2 3 #task selection, initialisation of the framework 4 baseline_model = Fedot(problem='classification') 5
/usr/local/lib/python3.9/dist-packages/fedot/api/main.py in 13 from fedot.core.data.visualisation import plot_forecast 14 from fedot.core.log import default_log ---> 15 from fedot.core.optimisers.utils.pareto import ParetoFront 16 from fedot.core.pipelines.node import PrimaryNode 17 from fedot.core.pipelines.pipeline import Pipeline
/usr/local/lib/python3.9/dist-packages/fedot/core/optimisers/utils/pareto.py in 3 from deap.tools import ParetoFront as DeapParetoFront 4 ----> 5 from fedot.core.visualisation.opt_viz import PipelineEvolutionVisualiser 6 7
/usr/local/lib/python3.9/dist-packages/fedot/core/visualisation/opt_viz.py in 9 import numpy as np 10 import pandas as pd ---> 11 import seaborn as sns 12 from PIL import Image 13 from deap import tools
~/.local/lib/python3.9/site-packages/seaborn/init.py in 7 from .utils import * 8 from .palettes import * ----> 9 from .relational import * 10 from .regression import * 11 from .categorical import *
~/.local/lib/python3.9/site-packages/seaborn/relational.py in 16 from .algorithms import bootstrap 17 from .palettes import color_palette, cubehelix_palette, _parse_cubehelix_args ---> 18 from .axisgrid import FacetGrid, _facet_docs 19 20
~/.local/lib/python3.9/site-packages/seaborn/axisgrid.py in 14 from .palettes import color_palette, blend_palette 15 from .external.six import string_types ---> 16 from .distributions import distplot, kdeplot, _freedman_diaconis_bins 17 18
~/.local/lib/python3.9/site-packages/seaborn/distributions.py in 14 15 try: ---> 16 import statsmodels.nonparametric.api as smnp 17 _has_statsmodels = True 18 except ImportError:
~/.local/lib/python3.9/site-packages/statsmodels/nonparametric/api.py in 5 "lowess", "bandwidths" 6 ] ----> 7 from .kde import KDEUnivariate 8 from .smoothers_lowess import lowess 9 from . import bandwidths
~/.local/lib/python3.9/site-packages/statsmodels/nonparametric/kde.py in 21 from . import bandwidths 22 from .kdetools import forrt, revrt, silverman_transform ---> 23 from .linbin import fast_linbin 24 25 # Kernels Switch for estimators
statsmodels/nonparametric/linbin.pyx in init statsmodels.nonparametric.linbin()
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject