在Windows上安装Turi Create的错误

我正在使用Windows 10并在Anaconda上运行Jupyter Notebook。起初,我想在Anaconda上安装turi Create,但没有这样做。然后,我开始使用Ubuntu通过WSL安装turi Create。但是运行命令 $ pip install turicreate 之后,出现以下错误: 错误:llvmlite的构建轮失败

我的python版本是3.6.9

完整的错误回溯在下面给出

错误:命令错误,退出状态为1:命令: / home / rishad / venv / bin / python -u -c'import sys,setuptools,tokenize; sys.argv [0] ='“'”'/tmp/pip-install-D6ZY7E/llvmlite/setup.py'“'”'; 文件 ='“'”'/ tmp / pip-install-D6ZY7E / llvmlite / setup.py'“'”'; f = getattr(tokenize, '“”“'open'”'“,打开)(文件); code = f.read()。replace('”'“'\ r \ n'”'“', '“'”'\\ n'“'”'); f.close(); exec(compile(code, file ,'“'”'exec'“'”')))' bdist_wheel -d / tmp / pip-wheel-VYksx0 cwd:/ tmp / pip-install-D6ZY7E / llvmlite /完整输出(15行):运行bdist_wheel / home / rishad / venv / bin / python /tmp/pip-install-D6ZY7E/llvmlite/ffi/bu​​ild.py LLVM版本... 6.0.0

回溯(最近通话最近): 文件“ /tmp/pip-install-D6ZY7E/llvmlite/ffi/bu​​ild.py”,行168,在 主要() 主目录中的文件“ /tmp/pip-install-D6ZY7E/llvmlite/ffi/bu​​ild.py”,第158行 main_posix('linux','.so') 在main_posix中的第120行,文件“ /tmp/pip-install-D6ZY7E/llvmlite/ffi/bu​​ild.py” 引发RuntimeError(msg)RuntimeError:构建llvmlite需要LLVM 7.0.x,7.1.x或8.0.x,得到u'6.0.0'。请务必设定 LLVM_CONFIG到正确的可执行路径。阅读位于的文档 http://llvmlite.pydata.org/有关构建的更多信息 llvmlite。

错误:命令'/ home / rishad / venv / bin / python'失败,退出 状态1 ----------------------------------------错误:失败 llvmlite建筑轮子

然后是下一个错误

为llvmlite运行setup.py安装...错误 错误:命令错误,退出状态为1: 命令:/ home / rishad / venv / bin / python -u -c'导入sys,setuptools,令牌化; sys.argv [0] = '“”“'/tmp/pip-install-D6ZY7E/llvmlite/setup.py'”'“'; 文件 ='“'”'/ tmp / pip-install-D6ZY7E / llvmlite / setup.py'“'”'; f = getattr(tokenize, '“”“'open'”'“,打开)(文件); code = f.read()。replace('”'“'\ r \ n'”'“', '“'”'\\ n'“'”'); f.close(); exec(compile(code, file ,'“'”'exec'“'”')))' 安装--record /tmp/pip-record-Tv5u1Z/install-record.txt --single-version-外部管理-编译--install-headers /home/rishad/venv/include/site/python2.7/llvmlite CWD:/ tmp / pip-install-D6ZY7E / llvmlite / 完整输出(18行): 运行安装 运行构建 从/tmp/pip-install-D6ZY7E/llvmlite/llvmlite/_version.py {'version': '0.32.0','完整':'26059d238f4ba23dff74703dd27168591d889edd'} 运行build_ext / home / rishad / venv / bin / python /tmp/pip-install-D6ZY7E/llvmlite/ffi/bu​​ild.py LLVM版本... 6.0.0

Traceback (most recent call last):
  File "/tmp/pip-install-D6ZY7E/llvmlite/ffi/build.py",line 168,in <module>
    main()
  File "/tmp/pip-install-D6ZY7E/llvmlite/ffi/build.py",line 158,in main
    main_posix('linux','.so')
  File "/tmp/pip-install-D6ZY7E/llvmlite/ffi/build.py",line 120,in main_posix
    raise RuntimeError(msg)
RuntimeError: Building llvmlite requires LLVM 7.0.x,7.1.x or 8.0.x,got u'6.0.0'. Be sure to set LLVM_CONFIG to the right executable path.
Read the documentation at http://llvmlite.pydata.org/ for more information about building llvmlite.

error: command '/home/rishad/venv/bin/python' failed with exit status 1
---------------------------------------- ERROR: Command errored out with exit status 1: /home/rishad/venv/bin/python -u -c 'import
sys,setuptools,tokenize; sys.argv [0] = '“”“'/tmp/pip-install-D6ZY7E/llvmlite/setup.py'”'“'; 文件 ='“'”'/ tmp / pip-install-D6ZY7E / llvmlite / setup.py'“'”'; f = getattr(tokenize, '“”“'open'”'“,打开)(文件); code = f.read()。replace('”'“'\ r \ n'”'“', '“'”'\\ n'“'”'); f.close(); exec(compile(code, file ,'“'”'exec'“'”')))' 安装--record /tmp/pip-record-Tv5u1Z/install-record.txt --single-version-externally-managed --compile --install-headers /home/rishad/venv/include/site/python2.7/llvmlite检查日志 完整的命令输出。
creamll 回答:在Windows上安装Turi Create的错误

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2388984.html

大家都在问