Update install doc with instructions for Windows
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 42/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python, tensorflow
调研方向
从 issue 中引用的 TensorFlow Graphics 安装页面开始,查看 Windows 上 pip install --upgrade tensorflow-graphics 命令的说明。确认文档中记录的 OpenEXR 依赖项和 Windows 解决方法,然后验证在报告所述的 Python 3.6 环境中安装是否成功。
由索引模型根据 Issue 内容生成。
描述
Failed to install tensorflow-graphics on Windows
OS: Windows 10 Enterprise, 2019, 64 Bit
Reference page: https://www.tensorflow.org/graphics/install
Command used: pip install --upgrade tensorflow-graphics
Errors:
ERROR: Command errored out with exit status 1:
command: 'C:\Users\<>\AppData\Local\Continuum\anaconda3\envs\tf2\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\<>\\AppData\\Local\\Temp\\pip-install-7rwn720y\\OpenEXR\\setup.py'"'"'; __file__='"'"'C:\\Users\\<>\\AppData\\Local\\Temp\\pip-install-7rwn720y\\OpenEXR\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\<>\AppData\Local\Temp\pip-wheel-fo90orx6' --python-tag cp36
cwd: C:\Users\<>\AppData\Local\Temp\pip-install-7rwn720y\OpenEXR\
Looks like installing OpenEXR is not Optional or for Linux, as specified at the https://www.tensorflow.org/graphics/install
Getting OpenEXR installed via pip install --upgrade OpenEXR fails with following error:
OpenEXR.cpp(36): fatal error C1083: Cannot open include file: 'ImathBox.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.23.28105\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Failed building wheel for OpenEXR
Reason: Imathbox.h missing, due to missing libopenexr-dev, need to install as per OS.
Workarounds tried:
conda install -c conda-forge openexr[installed without error, but then rerun ofpip install --upgrade tensorflow-graphicsfailed again.pip install git+https://github.com/jamesbowman/openexrpython.gitFAILED- Install OpenEXR from https://www.lfd.uci.edu/~gohlke/pythonlibs/#openexr (Unofficial) with appropriate python version
pip install Downloads\OpenEXR-1.3.2-cp36-cp36m-win_amd64.whlfor Python 3.6.9, then re-runpip install --upgrade tensorflow-graphics. WORKED!!
Suggestion: Update INSTALL instructions accordingly.
- 主要语言
- Python
- 星标
- 2.8k
- 派生
- 374
- 平均合并
- 5 天 9 小时
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tensorflow/graphics 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 62/100
tensorflow/graphics#468 ·
-
难度 5/5 一周以上 新手友好度 25/100
tensorflow/graphics#5337 ·
-
难度 3/5 1-2 天 新手友好度 25/100
tensorflow/graphics#730 ·
-
难度 4/5 3-5 天 新手友好度 35/100
tensorflow/graphics#729 ·
-
难度 5/5 一周以上 新手友好度 10/100
tensorflow/graphics#724 ·
查看 tensorflow/graphics 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
Project-N-E-K-O/N.E.K.O#3670 · 1 条评论 ·
维护者通常 1 天内回复
-
type:docs
难度 2/5 1-3 小时 新手友好度 82/100
jejjohnson/xtremax#123 ·
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
triage
难度 1/5 1 小时以内 新手友好度 78/100
microsoft/agent-framework#10218 ·
维护者通常 1 天内回复
-
fidelity
难度 2/5 半天 新手友好度 66/100
维护者通常 1 天内回复