I am trying to install coremltools
following the instructions from Converter tools for Core ML. :
(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.
As you can see, the environment is running Python 3.6.3, which should satisfy the 3.6* dependency. However, I keep getting the UnsatisfiableError
.
I tried install numpy
and protobuf
in the environment, as they are listed as dependencies at Apple's GitHub page for coremltools , but that did not change anything.
查看pypi中的包装信息,Apple仅在Python 2.7上支持coremltools。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.