我正按照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
。
我尝试在环境中安装numpy
和protobuf
,因为它们在Apple's GitHub page for coremltools被列为依赖项,但这并没有改变任何内容。