Coremltools: `pip install coremltools` fails on a fresh environment

Created on 31 Jan 2020  路  6Comments  路  Source: apple/coremltools

馃悶Describe the bug

pip install corelmtools fails in a fresh python environment because of the from coremltools import __version__ in setup.py.
When it imports the coremltools package, it tries to load all the dependencies.

To Reproduce

  • Fresh environment
pip install coremltools
bug python

All 6 comments

Can you share the error message you get when you try to install it?

I am having the same issue and it says

ERROR: Could not find a version that satisfies the requirement coremltools (from versions: none)
ERROR: No matching distribution found for coremltools

Same error, python 3.8.2. I followed the steps from README and created a new environment.

coremltools 3.4 is not available for python 3.8, yet. It should work with python 2.7, 3.5, 3.6, 3.7

Python 3.8 support is being tracked in #684

@aseemw, thanks. I believe that such info (supported Python version, OSes etc) should be listed on the README page here or in the github.io docs.

Was this page helpful?
0 / 5 - 0 ratings