无法在MAC OS上构建任何conda软件包

时间:2019-06-03 06:17:01

标签: macos anaconda conda

在我的macOS(High Sierra,版本10.13.6)上构建任何conda收件人时,出现以下错误:

OSError: dlopen(/anaconda3/bin/../lib/libarchive.dylib, 6): Library not loaded: @rpath/libxml2.2.dylib   Referenced from: /anaconda3/lib/libarchive.13.dylib   

Reason: Incompatible library version: libarchive.dylib requires version 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0

我已经执行以下操作:

建立任何食谱时都会出现此错误,例如,这是我正在尝试的食谱:

package:
  name: cmake
  version: 3.2.3

source:
  fn: cmake-3.2.3.tar.gz [not win]
  url: http://www.cmake.org/files/v3.2/cmake-3.2.3.tar.gz [not win]

build:
  number: 0

requirements:
  build:

  run:

about:
  home: http://www.cmake.org
  license:  BSD 3-clause

build.sh包含:

#!/bin/bash

./bootstrap --prefix=$PREFIX

make
make install

0 个答案:

没有答案