-
Notifications
You must be signed in to change notification settings - Fork 79
Installation error with coremltools 2.0 #356
Comments
Sorry for the spam. Tried again with |
No, this doesn't actually work. I cannot import onnx_coreml: |
Strangely, I can use the command-line script (convert-onnx-to-coreml). So I guess it must be some environment problem... Mind you, on conversion I get the error: |
coremltools is not supported on python 3.7, which is a dependency for onnx-coreml. You can use python 3.6 Regarding the gather issue, can you try again with this PR #357 (you would have to checkout the PR and install from source)? |
Ah, okay. I wondered about python 3.7, but I didn't see that specific requirement... I'll try to give that PR a go a little later. Thanks. |
Yes! That PR worked. Thanks! Haven't tried importing it to Xcode yet, but it's not a model I plan to use anyway; just a test. I'm fine using the command-line converter, for now, but I'll keep my eye on coremltools for a python 3.7 support update. |
Guys , I run python 3.8 and I don't know what's PR. What is it? How can I go to python 3.6 so this can work?? Help me please |
I'm trying to set up a fastai v1 environment (python 3.7), ultimately for deployment on iOS. However, I'm not able to install onnx-coreml for some reason. Running
pip install -U onnx-coreml
I get the error:No matching distribution found for coremltools>=2.0 (from onnx-coreml)
.The text was updated successfully, but these errors were encountered: