You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first section of the magneticDipoleApplet returns the following import error for the key function, meaning the rest of the modelling code is not functioning. I'd love to use this in my geophysics class, so let me know if/when it has been fixed!
ImportError Traceback (most recent call last)
/tmp/ipykernel_78/721328210.py in
----> 1 from geoscilabs.mag.MagDipoleApp import MagneticDipoleApp
2 mag = MagneticDipoleApp()
/srv/conda/envs/notebook/lib/python3.8/site-packages/geoscilabs/mag/init.py in
----> 1 from . import Mag
2 from . import Simulator
3 from . import MagDipole
4 from . import MagDipoleApp
/srv/conda/envs/notebook/lib/python3.8/site-packages/geoscilabs/mag/Mag.py in
3 import re
4 import numpy as np
----> 5 from SimPEG import utils, data
6 from SimPEG.potential_fields import magnetics as mag
7
/srv/conda/envs/notebook/lib/python3.8/site-packages/SimPEG/init.py in
6 from discretize import tests
7
----> 8 from .data import Data, SyntheticData
9 from . import data_misfit
10 from . import directives
/srv/conda/envs/notebook/lib/python3.8/site-packages/SimPEG/data.py in
4 import warnings
5
----> 6 from .survey import BaseSurvey
7 from . import survey
8 from .utils import mkvc
/srv/conda/envs/notebook/lib/python3.8/site-packages/SimPEG/survey.py in
6 from .utils.code_utils import deprecate_property, deprecate_class, deprecate_method
7
----> 8 from .utils import mkvc, Counter
9 from .props import BaseSimPEG
10 import types
/srv/conda/envs/notebook/lib/python3.8/site-packages/SimPEG/utils/init.py in
57 from .plot_utils import plot2Ddata, plotLayer, plot_1d_layer_model
58 from .io_utils import download
---> 59 from .pgi_utils import (
60 make_SimplePGI_regularization,
61 make_PGI_regularization,
/srv/conda/envs/notebook/lib/python3.8/site-packages/SimPEG/utils/pgi_utils.py in
20 _check_shape,
21 )
---> 22 from sklearn.mixture._base import _check_X, check_random_state, ConvergenceWarning
23 import warnings
24 from .mat_utils import mkvc
ImportError: cannot import name '_check_X' from 'sklearn.mixture._base' (/srv/conda/envs/notebook/lib/python3.8/site-packages/sklearn/mixture/_base.py)
The text was updated successfully, but these errors were encountered:
The first section of the magneticDipoleApplet returns the following import error for the key function, meaning the rest of the modelling code is not functioning. I'd love to use this in my geophysics class, so let me know if/when it has been fixed!
ImportError Traceback (most recent call last)
/tmp/ipykernel_78/721328210.py in
----> 1 from geoscilabs.mag.MagDipoleApp import MagneticDipoleApp
2 mag = MagneticDipoleApp()
/srv/conda/envs/notebook/lib/python3.8/site-packages/geoscilabs/mag/init.py in
----> 1 from . import Mag
2 from . import Simulator
3 from . import MagDipole
4 from . import MagDipoleApp
/srv/conda/envs/notebook/lib/python3.8/site-packages/geoscilabs/mag/Mag.py in
3 import re
4 import numpy as np
----> 5 from SimPEG import utils, data
6 from SimPEG.potential_fields import magnetics as mag
7
/srv/conda/envs/notebook/lib/python3.8/site-packages/SimPEG/init.py in
6 from discretize import tests
7
----> 8 from .data import Data, SyntheticData
9 from . import data_misfit
10 from . import directives
/srv/conda/envs/notebook/lib/python3.8/site-packages/SimPEG/data.py in
4 import warnings
5
----> 6 from .survey import BaseSurvey
7 from . import survey
8 from .utils import mkvc
/srv/conda/envs/notebook/lib/python3.8/site-packages/SimPEG/survey.py in
6 from .utils.code_utils import deprecate_property, deprecate_class, deprecate_method
7
----> 8 from .utils import mkvc, Counter
9 from .props import BaseSimPEG
10 import types
/srv/conda/envs/notebook/lib/python3.8/site-packages/SimPEG/utils/init.py in
57 from .plot_utils import plot2Ddata, plotLayer, plot_1d_layer_model
58 from .io_utils import download
---> 59 from .pgi_utils import (
60 make_SimplePGI_regularization,
61 make_PGI_regularization,
/srv/conda/envs/notebook/lib/python3.8/site-packages/SimPEG/utils/pgi_utils.py in
20 _check_shape,
21 )
---> 22 from sklearn.mixture._base import _check_X, check_random_state, ConvergenceWarning
23 import warnings
24 from .mat_utils import mkvc
ImportError: cannot import name '_check_X' from 'sklearn.mixture._base' (/srv/conda/envs/notebook/lib/python3.8/site-packages/sklearn/mixture/_base.py)
The text was updated successfully, but these errors were encountered: