zoukankan      html  css  js  c++  java
  • anaconda下安装库出现UnsatisfiableError问题

     利用命令行在Anaconda Prompt 安装PIL

    利用命令conda install PIL出现问题如下:

    (D:Program FilesAnaconda3) C:Userslee>conda install PIL
    Fetching package metadata ...........
    Solving package specifications: .
    
    UnsatisfiableError: The following specifications were found to be in conflict:
      - pil -> python 2.6*
      - python 3.5*
    Use "conda info <package>" to see the dependencies for each package.
    

    根据错误提示:pil按照默认源的配置是没有提供依赖Python3.5的包
    解决方案:
    1.创建一个新的Python2.6环境安装

    conda create -n python2.6 pil
    activate python2.6   #进入该环境
    conda install pil    #安装pil包
    deactivate        #退出该环境

    2.创建一个新的基于python3.5 pil 的环境

    conda create -n python3.5 -c menpo pil
    activate python3.5   #进入该环境
    conda install pil    #安装pil包
    deactivate        #退出该环境
  • 相关阅读:
    表值函数,标量值函数
    考勤率
    精确小数点
    SQL 返回刚插入的值
    xml读取
    备份表
    case,cast
    DDR基础知识
    NXP官方的I.MX6UL板级Uboot源码适配
    高通msm8909打开debug串口
  • 原文地址:https://www.cnblogs.com/LinuxSuDa/p/8249738.html
Copyright © 2011-2022 走看看