我正在尝试按照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中被列为依赖项,但这并没有改变任何事情。
发布于 2018-01-10 23:30:31
查看pypi中的打包信息,苹果在Python2.7上只支持coremltools。
https://stackoverflow.com/questions/47003444
复制相似问题