无法安装tfcoreml(特别是coremltools) [英] Unable to install tfcoreml (specifically coremltools)

查看:260
本文介绍了无法安装tfcoreml(特别是coremltools)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试过virtualenv,将python类型更改为2.7x,然后手动安装.

I've tried a virtualenv, changing my python type to 2.7x, and installing it manually.

但是,我不断收到

Could not find a version that satisfies the requirement coremltools>=0.8 (from tfcoreml) (from versions: ) No matching distribution found for coremltools>=0.8 (from tfcoreml)

Could not find a version that satisfies the requirement coremltools>=0.8 (from tfcoreml) (from versions: ) No matching distribution found for coremltools>=0.8 (from tfcoreml)

当我使用pip search coremltools搜索版本时,我只会得到coremltools (2.1.0) - Community Tools for CoreML,但仍然不会让我获得该版本.

When I search using pip search coremltools for the versions I only get coremltools (2.1.0) - Community Tools for CoreML and it still won't let me get that version.

我需要帮助.有人可以告诉我我做错了什么,或者逐步告诉我如何正确安装它吗?

I need help. Can somebody either tell me what I am doing wrong or walk me step-by-step of how I can install this properly?

谢谢.

推荐答案

"coremltools"也遇到了同样的问题.问题是python版本.

I had this same problem for "coremltools". The issue was the python version.

我可以在3.6环境中成功安装.

I could successfully install in a 3.6 environment.

python 3.7+没有轮子

There are no wheels for python 3.7+

(谢谢"| fried |"的链接...)

(Thank you "|fried|" for the links ...)

这篇关于无法安装tfcoreml(特别是coremltools)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆