在Python 3.6 Anaconda环境中安装coremltools

时间:2017-10-29 17:59:16

标签: python python-3.x anaconda conda coremltools

我正按照Converter tools for Core ML.的说明安装coremltools

(coreml) imac:~ henrik$ conda install -c derickl coremltools
Fetching package metadata .............
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:
  - coremltools -> python >=2.7,<2.8.0a0
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.

(coreml) imac:~ henrik$ python -V
Python 3.6.3 :: Anaconda, Inc.

如您所见,环境正在运行Python 3.6.3,它应满足3.6 *依赖性。但是,我一直收到UnsatisfiableError

我尝试在环境中安装numpyprotobuf,因为它们在Apple's GitHub page for coremltools被列为依赖项,但这并没有改变任何内容。

1 个答案:

答案 0 :(得分:0)

查看pypi中的打包信息Apple仅支持Python 2.7上的coremltools。