問題描述
提示:是不是你也遇到了這樣的問題?
方法一:在conda命令前加上conda-forge
示例:打開我們的anaconda Prompt , 輸入:conda install -c conda-forge pyside2(這里以pyside2為例),有時候我們在python標準庫里沒有找到軟件包時,conda-forge社區(qū)版也是一個不錯的選擇(能夠解決大部分的問題)
conda install -c conda-forge pyside2
方法二、去Anaconda官網(wǎng)找到對應的軟件包命令
1、登錄Anaconda官網(wǎng)(https://anaconda.org/)
提示:在輸入框內輸入自己想要找的軟件包(這里以pySide2為例)
2、找到對應需要下載的版本(要看清支不支持你當前系統(tǒng))
提示:選擇目標版本后進入
3、在諸多下載命令中選擇一條就可以了
提示:隨便一條都行文章來源:http://www.zghlxwxcb.cn/news/detail-425372.html
4、返回Anaconda Powershell Prompt中,輸入剛剛復制的指令
conda install -c conda-forge pyside2
文章來源地址http://www.zghlxwxcb.cn/news/detail-425372.html
總結
有不對的地方歡迎大家指正,很希望能和你們一起討論。
到了這里,關于PackagesNotFoundError: The following packages are not available from current channels的解決辦法的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網(wǎng)!