簡體   English   中英

sklearn 已從我的軟件包列表中消失,我無法安裝它

[英]sklearn has disappeared from my packages list and I can not install it

我曾經使用 sklearn,但今天我在我的包列表中找不到它。 我有 scikit-learn 但我無法導入 sklearn。 我試圖安裝它

conda install -c anaconda sklearn

但我得到錯誤

PackagesNotFoundError: The following packages are not available from current channels:

- sklearn

Current channels:

` - https://conda.anaconda.org/anaconda/osx-64

To search for alternate channels that may provide the conda package you're looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

我找到了答案 - 我只是使用以下代碼安裝 sklearn:

pip install -i https://pypi.anaconda.org/atonarp/simple sklearn

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM