i am  getting a error when i  importing skleran 



  File "C:\Program Files\Spyder\pkgs\spyder_kernels\py3compat.py", line 
356, in compat_exec
    exec(code, globals, locals)

  File "c:\users\91805\.spyder-py3\temp.py", line 3, in <module>
    from sklearn.impute import SimpleImputer

  File 
"C:\Users\91805\AppData\Local\Programs\Python\Python311\Lib\site-packages\sklearn\__init__.py",
 
line 81, in <module>
    from . import __check_build  # noqa: F401

  File 
"C:\Users\91805\AppData\Local\Programs\Python\Python311\Lib\site-packages\sklearn\__check_build\__init__.py",
 
line 50, in <module>
    raise_build_error(e)

  File 
"C:\Users\91805\AppData\Local\Programs\Python\Python311\Lib\site-packages\sklearn\__check_build\__init__.py",
 
line 31, in raise_build_error
    raise ImportError(

ImportError: No module named 'sklearn.__check_build._check_build'
___________________________________________________________________________
Contents of 
C:\Users\91805\AppData\Local\Programs\Python\Python311\Lib\site-packages\sklearn\__check_build:
_check_build.cp311-win_amd64.pyd__init__.py               __pycache__
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spyderlib+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/c9198791-13a2-4c09-922c-837e22c18159n%40googlegroups.com.

Reply via email to