本文介紹了如何在 conda 環(huán)境中安裝 Selenium?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!
問題描述
我正在嘗試在 Windows 10 的 conda 環(huán)境中安裝 Selenium,使用
I'm trying to install Selenium in a conda environment in Windows 10 with
conda install --name myenv selenium
但這會返回錯誤
PackageNotFoundError: Package missing in current win-64 channels:
- selenium
我怎樣才能完成這個包的安裝?
How can I complete this package installation?
推薦答案
Conda 使用不同的渠道搜索包.你需要找到支持Win 64的包
Conda uses different channels to search for packages. You need find the package which supports Win 64
你可以通過下面的鏈接來做到這一點
You can do that by going to below link
https://anaconda.org/search?q=selenium&sort=ndownloads&sort_order=-1&reverse=true
你會發(fā)現(xiàn)這是下載次數(shù)最多的一個
And you will find that this is most downloaded one
https://anaconda.org/conda-forge/selenium
所以在下面執(zhí)行
conda install -c conda-forge --name myenv selenium
這篇關(guān)于如何在 conda 環(huán)境中安裝 Selenium?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!
【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!