【问题标题】:NoPackagesFoundError: Package missing in current Win64 channels: - freetype 2.5.5 1NoPackagesFoundError:当前 Win64 通道中缺少包:-freetype 2.5.5 1
【发布时间】:2017-06-29 03:04:54
【问题描述】:

我正在尝试使用 yml 文件安装 Python 环境。但是我遇到了以下错误:

NoPackagesFoundError: Package missing in current Win64 channels: 
                      - freetype 2.5.5 1

我正在使用下面的代码来安装使用 Anaconda 2 的环境(将 .yml 文件放在 Python 的当前目录之后。)

conda env create -f environment.yml 

yml文件如下取自url(https://github.com/zooniverse/Data-digging/blob/master/example_scripts/basic_project_stats.yml)

name: python279_volcrowe
channels:
- defaults
dependencies:
- cycler=0.10.0=py27_0
- freetype=2.5.5=1
- jpeg=8d=1
- lcms=1.19=0
- libpng=1.6.22=0
- matplotlib=1.5.1=np110py27_0
- numpy=1.10.1=py27_0
- openssl=1.0.2g=0
- pandas=0.17.1=np110py27_0
- pil=1.1.7=py27_2
- pip=8.1.1=py27_0
- pyparsing=2.1.4=py27_0
- pyqt=4.11.4=py27_3
- python=2.7.11=0
- python-dateutil=2.4.2=py27_0
- pytz=2015.7=py27_0
- qt=4.8.7=3
- readline=6.2=2
- requests=2.9.1=py27_0
- setuptools=20.3=py27_0
- sip=4.16.9=py27_0
- six=1.10.0=py27_0
- sqlite=3.9.2=0
- tk=8.5.18=0
- wheel=0.29.0=py27_0
- zlib=1.2.8=0
prefix: /Users/Public/Anaconda2/envs/python279_volcrowe

我不确定 yml 文件中“前缀”的最后一行在做什么,但我将其更改为我计算机中的环境所在的目录。

正如在类似帖子中提到的,我尝试使用以下方法安装 win 64 频道:

conda config --add channels bioninja

我可以添加 bioninja 东西,但是当我运行以下命令时:

conda env create -f environment.yml

它给了我与之前相同的 Win64 通道错误。

谁能帮我解决这个问题?

【问题讨论】:

    标签: python anaconda


    【解决方案1】:

    我下载了错误的 .yml 文件时发生了这种情况。 我在 Windows 上工作,然后运行:

    conda env create -f aind-environment-unix.yml

    我已经下载了正确的文件并运行:

    conda env create -f aind-environment-windows.yml

    我解决了问题

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-12-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-27
      • 2018-04-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多