如何在Windows机器上安装Open edX?

huangapple go评论73阅读模式
英文:

how i can install openedx in windows macheen?

问题

错误:子进程以错误退出

× python setup.py bdist_wheel 未成功运行。
│ 退出代码:1
╰─> [12 行输出]
正在运行 bdist_wheel
正在运行构建
正在运行 build_py
创建构建目录
创建 build\lib.win-amd64-cpython-310
创建 build\lib.win-amd64-cpython-310\tutorlicense
复制 tutorlicense\plugin.py -> build\lib.win-amd64-cpython-310\tutorlicense
复制 tutorlicense_about_.py -> build\lib.win-amd64-cpython-310\tutorlicense
复制 tutorlicense_init_.py -> build\lib.win-amd64-cpython-310\tutorlicense
正在运行 build_ext
正在构建 'tutorlicense.cmd' 扩展
错误:需要 Microsoft Visual C++ 14.0 或更高版本。请使用 "Microsoft C++ Build Tools" 下载:https://visualstudio.microsoft.com/visual-cpp-build-tools/
[输出结束]

注意:此错误源自子进程,可能与 pip 无关。
错误:构建 tutor-license 时失败
运行 setup.py clean 以清理 tutor-license
无法构建 tutor-license
错误:无法为基于 pyproject.toml 的项目构建 tutor-license 所需的 wheels

我想在 Windows 机器上安装 openedx,当我运行命令 pip install "tutor[full]" 时出现此错误。

英文:

error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\tutorlicense
copying tutorlicense\plugin.py -> build\lib.win-amd64-cpython-310\tutorlicense
copying tutorlicense_about_.py -> build\lib.win-amd64-cpython-310\tutorlicense
copying tutorlicense_init_.py -> build\lib.win-amd64-cpython-310\tutorlicense
running build_ext
building 'tutorlicense.cmd' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tutor-license
Running setup.py clean for tutor-license
Failed to build tutor-license
ERROR: Could not build wheels for tutor-license, which is required to install pyproject.toml-based projects

i want install openedx in window macheen when i run command pip install "tutor[full]"
this error ocur

答案1

得分: 1

该错误提示是说需要"Microsoft Visual C++ 14.0或更高版本"。您是否已经尝试安装Microsoft构建工具?

https://visualstudio.microsoft.com/visual-cpp-build-tools/(从您的主题中获取的链接)

我已经安装了它们,并且在一个空虚拟环境中,我能够成功运行

pip install tutor[full]

没有任何问题。

英文:

that error is saying that "Microsoft Visual C++ 14.0 or greater is required". Have you already tried to install the microsoft build tools?

https://visualstudio.microsoft.com/visual-cpp-build-tools/ (Got the link from your topic)

I have them installed and with an empty virtual environment i'm able to run

pip install tutor[full]

Without any problem

huangapple
  • 本文由 发表于 2023年6月13日 05:06:30
  • 转载请务必保留本文链接:https://go.coder-hub.com/76460338.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定