Installing specific BUILD of an anaconda package

前端 未结 1 1715
抹茶落季
抹茶落季 2021-01-30 16:43

Is there any way to install a specific build+version of a package in Anaconda? Stack Overflow post \"anaconda/conda - install a specific package version\" shows how to install a

相关标签:
1条回答
  • 2021-01-30 17:16

    The column with py27_0 is what build/version of python it is for. The column with defaults is to indicate which Anaconda channel it falls under. Different users or organizations can have their own channels but the default channel is defaults and another popular channel is conda-forge.

    The way you install any specific version from that information is:

    conda install pillow=4.2.1=py27h7cd2321_0
    

    Which is of the format

    conda install <package_name>=<version>=<build_string>
    

    If you want to choose which channel (otherwise defaults is chosen by default):

    conda install -c <channel> <package_name>=<version>=<build_string>
    
    0 讨论(0)
提交回复
热议问题