您好最近几天我正在尝试运行一个脚本来创建用于机器学习的模态 . 但是我无法在Pycharm编辑器中安装Turicreate包 .

我按照这些步骤运行脚本 .

之后,我在最新的python3.7中设置项目解释器并尝试安装turicreate但总是出错 .


收集turicreate使用缓存https://files.pythonhosted.org/packages/db/54/167837569bcb816b3fe68f003f18d07ab9d5ac31b2b12b8f9b07b1ccc7a4/turicreate-4.2.tar.gz收集包的构建轮:turicreate运行setup.py bdist_wheel用于turicreate:已启动运行setup.py bdist_wheel用于turicreate:已完成状态'error'来自命令/ Users / tikam / MLTikam1 / venv / bin / python的完整输出 - u -c“import setuptools,tokenize; file = '/private/var/folders/rh/qx_0gvzn6kzbqjvvbbh66t080000gn/T/pycharm-packaging1/turicreate/setup.py'; f = getattr(tokenize,'open',open)( file ); code = f.read() . replace('\r\n','\n'); f.close(); exec(编译(代码, file ,'exec'))“bdist_wheel -d / private / var / folders / rh / qx_0gvzn6kzbqjvvbbh66t080000gn / T / pip-wheel-qez5g2v_ --python-tag cp37:运行bdist_wheel运行构建安装到build / bdist.macosx- 10.9-x86_64 /车轮运行安装

==================================================================================
      ERROR

      If you see this message, pip install did not find an available binary package
      for your system. Supported platforms are:

      * Linux x86_64 (including WSL on Windows 10).
      * macOS 10.12+ x86_64.
      * Python 2.7, 3.5, or 3.6.

      Other possible causes of this error are:

      * Outdated pip version (try `pip install -U pip`).

      ==================================================================================

运行setup.py clean for turicreate无法构建turicreate安装收集的软件包:turicreate运行setup.py install for turicreate:started运行setup.py install for turicreate:完成状态'error'完成输出命令/ Users / tikam / MLTikam1 / venv / bin / python -u -c“import setuptools,tokenize; file = '/private/var/folders/rh/qx_0gvzn6kzbqjvvbbh66t080000gn/T/pycharm-packaging1/turicreate/setup.py'; f = getattr(tokenize,'open',open)( file ); code = f.read() . replace('\r\n','\n'); f.close( ); exec(compile(code, file ,'exec'))“install --record /private/var/folders/rh/qx_0gvzn6kzbqjvvbbh66t080000gn/T/pip-record-kjt0p8as/install-record.txt --single-version-external- managed --compile --install-headers /Users/tikam/MLTikam1/venv/include/site/python3.7/turicreate:running install

==================================================================================
        ERROR

        If you see this message, pip install did not find an available binary package
        for your system. Supported platforms are:

        * Linux x86_64 (including WSL on Windows 10).
        * macOS 10.12+ x86_64.
        * Python 2.7, 3.5, or 3.6.

        Other possible causes of this error are:

        * Outdated pip version (try `pip install -U pip`).

        ==================================================================================



----------------------------------------

用于turicreate命令的构建轮失败"/Users/tikam/MLTikam1/venv/bin/python -u -c " import setuptools,tokenize; file = '/private/var/folders/rh/qx_0gvzn6kzbqjvvbbh66t080000gn/T/pycharm-packaging1/turicreate/setup.py'; f = getattr(tokenize,'open',open)( file ); code = f.read() . replace('\r\n','\n'); f.close(); exec(compile(code, file ,'exec')) " install --record /private/var/folders/rh/qx_0gvzn6kzbqjvvbbh66t080000gn/T/pip-record-kjt0p8as/install-record.txt --single-version-externally-managed --compile --install-headers /Users/tikam/MLTikam1/venv/include/site/python3.7/turicreate"失败,错误代码为1 / private / var / folders / rh / qx_0gvzn6kzbqjvvbbh66t080000gn / T / pycharm-packaging1 / turicreate /


请建议我需要遵循哪些步骤来安装turicreat包 .

我想运行这个脚本:

脚本**************

import turicreate as tc

data = tc.SFrame('photoLabel.sframe')
model = tc.image_classifier.create(data, target='photoLabel')
predictions = model.predict(data)
model.export_coreml('MyClassifier.mlmodel')