我对python很新.我想使用KMean代码,我想安装scikit-learn或sklearn.
我使用此代码尝试安装这些包:
pip install -U sklearn
pip install -U scikit-learn
Run Code Online (Sandbox Code Playgroud)
但我得到了这个错误:
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_reihaneh/sklearn/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-89YQB7-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_reihaneh/sklearn
Storing debug log for failure in /home/reihaneh/.pip/pip.log
Run Code Online (Sandbox Code Playgroud)
问题的原因是什么?
我想在我的 Linux 22.04 系统上使用 Mozilla 的 DeepSpeech,请访问以下网站:
https://deepspeech.readthedocs.io/en/r0.9/?badge=latest
Run Code Online (Sandbox Code Playgroud)
在最开始的那一行,
pip3 install deepspeech
Run Code Online (Sandbox Code Playgroud)
我收到这个错误:
pip3 install deepspeech
Run Code Online (Sandbox Code Playgroud)
我上网并遵循了所有方法,例如升级 pip3、使用 pip 而不是 pip3。我无法解决这个问题。
这个网站:
ERROR: Could not find a version that satisfies the requirement deepspeech (from versions: none)
ERROR: No matching distribution found for deepspeech
Run Code Online (Sandbox Code Playgroud)
建议使用存档。我不明白在这一步我应该归档哪个存储库。
如果你能帮助我,那真是太好了。