conda install python=3.6 UnsatisfiableError

后端 未结 3 1522
梦如初夏
梦如初夏 2020-11-28 14:10

I currently have Python 3.5.2 installed via Anaconda Continuum. I\'m trying to upgrade to Python 3.6 but I\'m getting the below error when I try to run conda install p

3条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-28 14:58

    I had the same error but a bit different:

    UnsatisfiableError: The following specifications were found to be in conflict:
      - argcomplete -> python 3.5*
      - python ==3.6
    Use "conda info " to see the dependencies for each package.
    

    You can try removing offending packages like this:

    conda remove argcomplete conda-manager
    

    Sometimes this will keep showing new offending packages. In that case, I would just remove Anaconda installation from the path, delete folder and re-install.

    However, ultimately I just found that Python 3.6 is not worth the trouble yet due to incompatibility with TensorFlow, OpenCV, VS2015 etc. So I ended up making Python 3.5 as default by doing this in Anaconda:

    conda install python=3.5
    

    This command will overwrite your Python version in conda with 3.5. Doing this fixed most of the errors I was facing.

提交回复
热议问题