Update install doc with instructions for Windows
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 42/100
- Issue-Typ
- Dokumentation
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- python, tensorflow
- Bereich
- documentation
Rechercherichtung
Beginne mit der im Issue referenzierten TensorFlow Graphics-Installationsseite und überprüfe die Anweisungen für den Befehl pip install --upgrade tensorflow-graphics unter Windows. Bestätige die dokumentierte OpenEXR-Abhängigkeit und die Windows-Umgehungslösung und überprüfe anschließend, dass die Installation mit der im Bericht beschriebenen Python-3.6-Umgebung erfolgreich ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Python
- Sterne
- 2.8k
- Forks
- 374
- Ø Merge
- 5 T. 9 Std.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus tensorflow/graphics
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 62/100
tensorflow/graphics#468 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
tensorflow/graphics#5337 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 25/100
tensorflow/graphics#730 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
tensorflow/graphics#729 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 10/100
tensorflow/graphics#724 ·
Alle Issues in tensorflow/graphics
Ähnliche Issues
-
question
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 68/100
vllm-project/vime#524 ·
Maintainer antworten meist innerhalb von 7 Tagen
-
WOPI editor page is scrollable by a few pixels, which breaks scrolling in the document (Firefox)Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
suitenumerique/drive#969 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
theupdateframework/python-tuf#3044 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
FAIRmat-NFDI/pynxtools#861 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
NVIDIA/nsight-python#88 ·
Maintainer antworten meist innerhalb von 1 Tag