Anaconda无法解决环境

时间:2020-07-19 22:10:36

标签: python anaconda

**免责声明:我是数据科学和蟒蛇的新手。我具有python的基本能力,但是我不是专家(如果可以帮助说明我的专业,则可以在获得应用经济学专业的道路上进行加速课程**)

基本信息:MacOSx(Catalina v 10.15.4),Anaconda Navigator v 1.9.12,Spyder v.4.0.1 即使在终端中尝试了以下所有命令后,我仍然无法在anaconda上安装硒:

  • conda install -c conda-forge selenium
  • conda install -c conda-forge/label/gcc7 selenium
  • conda install -c conda-forge/label/cf201901 selenium
  • conda install -c conda-forge/label/cf202003 selenium

每次尝试,我都会收到此消息

Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (current_repodata.json): done 
Solving environment: failed with initial frozen solve. Retrying with flexible solve. 
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done 
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \  Found conflicts! Looking for incompatible packages.
Found conflicts! Looking for incompatible packages. This can take several minutes.  
Press CTRL-C to abort.
Examining conflict for notebook anaconda jupyter_client libsodium zeromq spyder pyzmq spyder-kernels: : 325it [45:34,  1.0
Examining conflict for notebook anaconda jupyter_client libsodium zeromq spyder pyzmq spyder-kernels: : 326it [45:34,  1.4
Examining conflict for anaconda lxml: : 326it [45:37,  1.49s/it]                                                   failed                                                                          |                         

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

...

...

在此之后,它列出了一大堆看起来都与此类似的东西(这只是MANY的第一行):

anaconda-navigator -> python[version='2.7.*|3.5.*|3.6.*|3.4.*']

...

...

我已尝试解决此问题的事物:

  1. conda update conda,因为我听说这可能与拥有与anaconda导航器不兼容的python v有关。更新成功,但返回了与上面相同的消息

  2. pip install -U seleniumpython setup.py install

请帮助我在间谍中使用硒!!!非常感谢!

0 个答案:

没有答案