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

ModuleNotFoundError: No module named 'sklearn.preprocessing._csr_polynomial_expansion' #127

Open
Yinghoo opened this issue Jul 21, 2024 · 0 comments

Comments

@Yinghoo
Copy link

Yinghoo commented Jul 21, 2024

my python version is python3.12,is it conflict with python version?

H:\Stable AI-stale audio\stable-audio-tools>python run_gradio.py --ckpt-path ".\ckpt\model.ckpt" --model-config ".\ckpt\model_config.json"
Traceback (most recent call last):
File "H:\Stable AI-stale audio\stable-audio-tools\run_gradio.py", line 2, in
from stable_audio_tools.interface.gradio import create_ui
File "H:\Stable AI-stale audio\stable-audio-tools\stable_audio_tools\interface\gradio.py", line 10, in
from aeiou.viz import audio_spectrogram_image
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\Lib\site-packages\aeiou\viz.py", line 26, in
from librosa import power_to_db
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\Lib\site-packages\librosa_init_.py", line 211, in
from . import decompose
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\Lib\site-packages\librosa\decompose.py", line 19, in
import sklearn.decomposition
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\Lib\site-packages\sklearn\decomposition_init_.py", line 8, in
from .dict_learning import (
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\Lib\site-packages\sklearn\decomposition_dict_learning.py", line 22, in
from ..linear_model import Lars, Lasso, LassoLars, orthogonal_mp_gram
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\Lib\site-packages\sklearn\linear_model_init
.py", line 9, in
from .coordinate_descent import (
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\Lib\site-packages\sklearn\linear_model_coordinate_descent.py", line 20, in
from ..model_selection import check_cv
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\Lib\site-packages\sklearn\model_selection_init
.py", line 5, in
from .classification_threshold import (
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\Lib\site-packages\sklearn\model_selection_classification_threshold.py", line 14, in
from ..metrics import (
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\Lib\site-packages\sklearn\metrics_init
.py", line 3, in
from . import cluster
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\Lib\site-packages\sklearn\metrics\cluster_init_.py", line 25, in
from .unsupervised import (
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\Lib\site-packages\sklearn\metrics\cluster_unsupervised.py", line 15, in
from ...preprocessing import LabelEncoder
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\Lib\site-packages\sklearn\preprocessing_init
.py", line 27, in
from ._polynomial import PolynomialFeatures, SplineTransformer
File "C:\Users\86132\AppData\Local\Programs\Python\Python312\Lib\site-packages\sklearn\preprocessing_polynomial.py", line 26, in
from ._csr_polynomial_expansion import (
ModuleNotFoundError: No module named 'sklearn.preprocessing._csr_polynomial_expansion'

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